*This do file prepares the leader data. You should run it first
*Note: you will need to change the path definitions to indicate the directories to which you have downloaded the various data files

*Preparing Archigos leader data
use "C:\Democracy\Archigos_v.2.9_tv-Public.dta", clear
save "C:\Democracy\revision dec 2011\leader.dta", replace
*combine Germany & W Germany*
replace ccode= 255 if ccode==260
*rename pre-1910 "South Korea" as "Korea"*
replace ccname="Korea" if ccode==730
*Vietnam*
replace ccode = 818 if ccode==815
replace ccode = 818 if ccode==816&year>1976
*change Serbia ccode*
replace ccode = 342 if ccode==340
*change Pakistan ccode*
replace ccode = 770 if ccode==769
*combine Austria-Hungary with Austria*
replace ccode = 305 if ccode==300
replace ccode=364 if ccode==365&year>1917&year<1991
replace ccode=364 if ccode==365&year==1917&leader=="Lenin"
replace ccode=364 if ccode==365&year==1991&leader=="Gorbachev"
gen cyear = ccode*10000+year
sort cyear
*create unique number for each leader
replace leader="Dimitrov, P." if ccname=="Bulgaria" & leader=="Dimitrov" &startdate=="08/11/1991"
replace ccname = "Austria" if ccname=="Austria-Hungary"
gen leadno=.
replace leadno=1 if ccname=="Afghanistan" & leader=="Shir `Ali Khan"
replace leadno=2 if ccname=="Afghanistan" & leader=="Mohammad Ya`qub Khan"
replace leadno=3 if ccname=="Afghanistan" & leader=="Mohammad Jan"
replace leadno=4 if ccname=="Afghanistan" & leader=="Abdor Rahman Khan"
replace leadno=5 if ccname=="Afghanistan" & leader=="Habibullah Khan"
replace leadno=6 if ccname=="Afghanistan" & leader=="Amanullah Khan"
replace leadno=7 if ccname=="Afghanistan" & leader=="Inayatullah Khan"
replace leadno=8 if ccname=="Afghanistan" & leader=="Habibullah Ghazi"
replace leadno=9 if ccname=="Afghanistan" & leader=="Nadir Shah"
replace leadno=10 if ccname=="Afghanistan" & leader=="Hashim Khan"
replace leadno=11 if ccname=="Afghanistan" & leader=="Mahmud Khan Ghazi"
replace leadno=12 if ccname=="Afghanistan" & leader=="Sardar Mohammad Daud Khan"
replace leadno=13 if ccname=="Afghanistan" & leader=="Mohammad Yusuf"
replace leadno=14 if ccname=="Afghanistan" & leader=="Mohammad Hashim Maiwandwal"
replace leadno=15 if ccname=="Afghanistan" & leader=="Abdallah Yakta"
replace leadno=16 if ccname=="Afghanistan" & leader=="Nur Ahmad Etemadi"
replace leadno=17 if ccname=="Afghanistan" & leader=="Abdul Zahir"
replace leadno=18 if ccname=="Afghanistan" & leader=="Mohammad Musa Shafiq"
replace leadno=19 if ccname=="Afghanistan" & leader=="Sardar Mohammad Daud Khan"
replace leadno=20 if ccname=="Afghanistan" & leader=="Taraki"
replace leadno=21 if ccname=="Afghanistan" & leader=="Amin"
replace leadno=22 if ccname=="Afghanistan" & leader=="Karmal"
replace leadno=23 if ccname=="Afghanistan" & leader=="Najibullah"
replace leadno=24 if ccname=="Afghanistan" & leader=="Mojadidi"
replace leadno=25 if ccname=="Afghanistan" & leader=="Burhanuddin Rabbani"
replace leadno=26 if ccname=="Afghanistan" & leader=="Mullah Omar"
replace leadno=27 if ccname=="Afghanistan" & leader=="Hamid Karzai"
replace leadno=28 if ccname=="Albania" & leader=="Ismail Qemali Bej"
replace leadno=29 if ccname=="Albania" & leader=="Fevzi Bej"
replace leadno=30 if ccname=="Albania" & leader=="Wilhelm zu Wied"
replace leadno=31 if ccname=="Albania" & leader=="Esat Pashe Toptani"
replace leadno=32 if ccname=="Albania" & leader=="Turkhan Pasha"
replace leadno=33 if ccname=="Albania" & leader=="Delvina"
replace leadno=34 if ccname=="Albania" & leader=="Vrioni"
replace leadno=35 if ccname=="Albania" & leader=="Evangeli"
replace leadno=36 if ccname=="Albania" & leader=="Prishtina"
replace leadno=37 if ccname=="Albania" & leader=="Idomeni Kosturis"
replace leadno=38 if ccname=="Albania" & leader=="Djafer Ypi"
replace leadno=39 if ccname=="Albania" & leader=="Zogu"
replace leadno=40 if ccname=="Albania" & leader=="Verlaci"
replace leadno=41 if ccname=="Albania" & leader=="Vrioni"
replace leadno=42 if ccname=="Albania" & leader=="Fan S. Noli"
replace leadno=43 if ccname=="Albania" & leader=="Vrioni"
replace leadno=44 if ccname=="Albania" & leader=="Zogu"
replace leadno=45 if ccname=="Albania" & leader=="Hoxha"
replace leadno=46 if ccname=="Albania" & leader=="Alia"
replace leadno=47 if ccname=="Albania" & leader=="Berisha"
replace leadno=48 if ccname=="Albania" & leader=="Fatos Nano"
replace leadno=49 if ccname=="Albania" & leader=="Majko"
replace leadno=50 if ccname=="Albania" & leader=="Meta"
replace leadno=51 if ccname=="Albania" & leader=="Majko"
replace leadno=52 if ccname=="Albania" & leader=="Fatos Nano"
replace leadno=53 if ccname=="Algeria" & leader=="Ben Khedda"
replace leadno=54 if ccname=="Algeria" & leader=="Bella"
replace leadno=55 if ccname=="Algeria" & leader=="Boumedienne"
replace leadno=56 if ccname=="Algeria" & leader=="Bitat"
replace leadno=57 if ccname=="Algeria" & leader=="Benjedid"
replace leadno=58 if ccname=="Algeria" & leader=="Boudiaf"
replace leadno=59 if ccname=="Algeria" & leader=="Kafi"
replace leadno=60 if ccname=="Algeria" & leader=="Zeroual"
replace leadno=61 if ccname=="Algeria" & leader=="Bouteflika"
replace leadno=62 if ccname=="Angola" & leader=="Neto"
replace leadno=63 if ccname=="Angola" & leader=="Dos Santos"
replace leadno=64 if ccname=="Argentina" & leader=="Avellanda"
replace leadno=65 if ccname=="Argentina" & leader=="Roca"
replace leadno=66 if ccname=="Argentina" & leader=="Celman"
replace leadno=67 if ccname=="Argentina" & leader=="Pellegrini"
replace leadno=68 if ccname=="Argentina" & leader=="L.S. Pena"
replace leadno=69 if ccname=="Argentina" & leader=="J. Evaristo Uriburu"
replace leadno=70 if ccname=="Argentina" & leader=="Roca"
replace leadno=71 if ccname=="Argentina" & leader=="Quintana"
replace leadno=72 if ccname=="Argentina" & leader=="Alcorta"
replace leadno=73 if ccname=="Argentina" & leader=="R.S. Pena"
replace leadno=74 if ccname=="Argentina" & leader=="de la Plaza"
replace leadno=75 if ccname=="Argentina" & leader=="Irigoyen"
replace leadno=76 if ccname=="Argentina" & leader=="de Alvear"
replace leadno=77 if ccname=="Argentina" & leader=="Irigoyen"
replace leadno=78 if ccname=="Argentina" & leader=="J. Felix Uriburu"
replace leadno=79 if ccname=="Argentina" & leader=="Justo"
replace leadno=80 if ccname=="Argentina" & leader=="Ortiz"
replace leadno=81 if ccname=="Argentina" & leader=="Castillo"
replace leadno=82 if ccname=="Argentina" & leader=="Rawson"
replace leadno=83 if ccname=="Argentina" & leader=="Ramirez"
replace leadno=84 if ccname=="Argentina" & leader=="Farrell"
replace leadno=85 if ccname=="Argentina" & leader=="Peron"
replace leadno=86 if ccname=="Argentina" & leader=="Lonardi"
replace leadno=87 if ccname=="Argentina" & leader=="Aramburu"
replace leadno=88 if ccname=="Argentina" & leader=="Frondizi"
replace leadno=89 if ccname=="Argentina" & leader=="Guido"
replace leadno=90 if ccname=="Argentina" & leader=="Arturo Illia"
replace leadno=91 if ccname=="Argentina" & leader=="Ongania"
replace leadno=92 if ccname=="Argentina" & leader=="Lanusse"
replace leadno=93 if ccname=="Argentina" & leader=="Levingston"
replace leadno=94 if ccname=="Argentina" & leader=="Lanusse"
replace leadno=95 if ccname=="Argentina" & leader=="Campora"
replace leadno=96 if ccname=="Argentina" & leader=="Lastiri"
replace leadno=97 if ccname=="Argentina" & leader=="Peron"
replace leadno=98 if ccname=="Argentina" & leader=="Peron, Isabel"
replace leadno=99 if ccname=="Argentina" & leader=="Videla"
replace leadno=100 if ccname=="Argentina" & leader=="Viola"
replace leadno=101 if ccname=="Argentina" & leader=="Liendo"
replace leadno=102 if ccname=="Argentina" & leader=="Galtieri"
replace leadno=103 if ccname=="Argentina" & leader=="Saint-Jean"
replace leadno=104 if ccname=="Argentina" & leader=="Bignone"
replace leadno=105 if ccname=="Argentina" & leader=="Alfonsin"
replace leadno=106 if ccname=="Argentina" & leader=="Menem"
replace leadno=107 if ccname=="Argentina" & leader=="de la Rua"
replace leadno=108 if ccname=="Argentina" & leader=="Ramon Puerta"
replace leadno=109 if ccname=="Argentina" & leader=="Adolfo Rodriguez Saa"
replace leadno=110 if ccname=="Argentina" & leader=="Eduardo Duhalde"
replace leadno=111 if ccname=="Argentina" & leader=="Nestor Kirchner"
replace leadno=112 if ccname=="Armenia" & leader=="Ter-Petrosyan"
replace leadno=113 if ccname=="Armenia" & leader=="Kocharian"
replace leadno=114 if ccname=="Australia" & leader=="Edmund Barton"
replace leadno=115 if ccname=="Australia" & leader=="Alfred Deakin"
replace leadno=116 if ccname=="Australia" & leader=="John Christian Watson"
replace leadno=117 if ccname=="Australia" & leader=="George Reid"
replace leadno=118 if ccname=="Australia" & leader=="Alfred Deakin"
replace leadno=119 if ccname=="Australia" & leader=="Andrew Fisher"
replace leadno=120 if ccname=="Australia" & leader=="Alfred Deakin"
replace leadno=121 if ccname=="Australia" & leader=="Andrew Fisher"
replace leadno=122 if ccname=="Australia" & leader=="Joseph Cook"
replace leadno=123 if ccname=="Australia" & leader=="Andrew Fisher"
replace leadno=124 if ccname=="Australia" & leader=="Hughes"
replace leadno=125 if ccname=="Australia" & leader=="Bruce"
replace leadno=126 if ccname=="Australia" & leader=="Scullin"
replace leadno=127 if ccname=="Australia" & leader=="Lyons"
replace leadno=128 if ccname=="Australia" & leader=="Page"
replace leadno=129 if ccname=="Australia" & leader=="Menzies"
replace leadno=130 if ccname=="Australia" & leader=="Fadden"
replace leadno=131 if ccname=="Australia" & leader=="Curtin"
replace leadno=132 if ccname=="Australia" & leader=="Forde"
replace leadno=133 if ccname=="Australia" & leader=="Chifley"
replace leadno=134 if ccname=="Australia" & leader=="Menzies"
replace leadno=135 if ccname=="Australia" & leader=="Holt"
replace leadno=136 if ccname=="Australia" & leader=="McEwen"
replace leadno=137 if ccname=="Australia" & leader=="Gorton"
replace leadno=138 if ccname=="Australia" & leader=="McMahon"
replace leadno=139 if ccname=="Australia" & leader=="Whitlam"
replace leadno=140 if ccname=="Australia" & leader=="Fraser"
replace leadno=141 if ccname=="Australia" & leader=="Hawke"
replace leadno=142 if ccname=="Australia" & leader=="Keating"
replace leadno=143 if ccname=="Australia" & leader=="Howard"
replace leadno=144 if ccname=="Austria" & leader=="Renner"
replace leadno=145 if ccname=="Austria" & leader=="Mayr"
replace leadno=146 if ccname=="Austria" & leader=="Schober"
replace leadno=147 if ccname=="Austria" & leader=="Seipel"
replace leadno=148 if ccname=="Austria" & leader=="Ramek"
replace leadno=149 if ccname=="Austria" & leader=="Seipel"
replace leadno=150 if ccname=="Austria" & leader=="Streeruwitz"
replace leadno=151 if ccname=="Austria" & leader=="Schober"
replace leadno=152 if ccname=="Austria" & leader=="Vaugoin"
replace leadno=153 if ccname=="Austria" & leader=="Ender"
replace leadno=154 if ccname=="Austria" & leader=="Buresch"
replace leadno=155 if ccname=="Austria" & leader=="Dollfuss"
replace leadno=156 if ccname=="Austria" & leader=="Schuschnigg"
replace leadno=157 if ccname=="Austria" & leader=="Seyss-Inquart"
replace leadno=158 if ccname=="Austria" & leader=="Renner"
replace leadno=159 if ccname=="Austria" & leader=="Figl"
replace leadno=160 if ccname=="Austria" & leader=="Raab"
replace leadno=161 if ccname=="Austria" & leader=="Gorbach"
replace leadno=162 if ccname=="Austria" & leader=="Klaus"
replace leadno=163 if ccname=="Austria" & leader=="Kreisky"
replace leadno=164 if ccname=="Austria" & leader=="Sinowatz"
replace leadno=165 if ccname=="Austria" & leader=="Vranitzky"
replace leadno=166 if ccname=="Austria" & leader=="Klima"
replace leadno=167 if ccname=="Austria" & leader=="Schussel"
replace leadno=168 if ccname=="Austria" & leader=="Francis Joseph I"
replace leadno=169 if ccname=="Austria" & leader=="Karl"
replace leadno=170 if ccname=="Azerbaijan" & leader=="Mutalibov"
replace leadno=171 if ccname=="Azerbaijan" & leader=="Mamedov"
replace leadno=172 if ccname=="Azerbaijan" & leader=="Mutalibov"
replace leadno=173 if ccname=="Azerbaijan" & leader=="Gambarov"
replace leadno=174 if ccname=="Azerbaijan" & leader=="Abulfaz Elchibey"
replace leadno=175 if ccname=="Azerbaijan" & leader=="H. Aliyev"
replace leadno=176 if ccname=="Azerbaijan" & leader=="Ilhma Aliyev"
replace leadno=177 if ccname=="Bahrain" & leader=="Isa Ibn Al-Khalifah"
replace leadno=178 if ccname=="Bahrain" & leader=="Hamad Isa Ibn Al-Khalifah"
replace leadno=179 if ccname=="Bangladesh" & leader=="Syed Nazrul Islam"
replace leadno=180 if ccname=="Bangladesh" & leader=="Sheikh Mujib Rahman"
replace leadno=181 if ccname=="Bangladesh" & leader=="Moshtaque Ahmed"
replace leadno=182 if ccname=="Bangladesh" & leader=="Ziaur Rahman"
replace leadno=183 if ccname=="Bangladesh" & leader=="Sattar"
replace leadno=184 if ccname=="Bangladesh" & leader=="Ershad"
replace leadno=185 if ccname=="Bangladesh" & leader=="Ahmed"
replace leadno=186 if ccname=="Bangladesh" & leader=="Khaleda Zia"
replace leadno=187 if ccname=="Bangladesh" & leader=="Mohammad Habibur Rahman"
replace leadno=188 if ccname=="Bangladesh" & leader=="Hasina Wazed"
replace leadno=189 if ccname=="Bangladesh" & leader=="Latifur Rahman"
replace leadno=190 if ccname=="Bangladesh" & leader=="Khaleda Zia"
replace leadno=191 if ccname=="Bavaria" & leader=="Ludwig II"
replace leadno=192 if ccname=="Belarus" & leader=="Shushkevich"
replace leadno=193 if ccname=="Belarus" & leader=="Kuznyatsu"
replace leadno=194 if ccname=="Belarus" & leader=="Hryb"
replace leadno=195 if ccname=="Belarus" & leader=="Lukashenko"
replace leadno=196 if ccname=="Belgium" & leader=="Jules Malou"
replace leadno=197 if ccname=="Belgium" & leader=="Walthere Frere-Orban"
replace leadno=198 if ccname=="Belgium" & leader=="Jules Malou"
replace leadno=199 if ccname=="Belgium" & leader=="Auguste Marie Franaois Beernaert"
replace leadno=200 if ccname=="Belgium" & leader=="Jules Philippe Marie de Burlet"
replace leadno=201 if ccname=="Belgium" & leader=="Paul de Smet de Nayer"
replace leadno=202 if ccname=="Belgium" & leader=="Julius Vandenpeereboom"
replace leadno=203 if ccname=="Belgium" & leader=="Paul de Smet de Nayer"
replace leadno=204 if ccname=="Belgium" & leader=="Jules de Trooz"
replace leadno=205 if ccname=="Belgium" & leader=="Frans Schollaert"
replace leadno=206 if ccname=="Belgium" & leader=="Charles, baron de Broqueville"
replace leadno=207 if ccname=="Belgium" & leader=="Von der Golt"
replace leadno=208 if ccname=="Belgium" & leader=="Von Bissing"
replace leadno=209 if ccname=="Belgium" & leader=="Von Falkenhausen"
replace leadno=210 if ccname=="Belgium" & leader=="Geraard Cooreman"
replace leadno=211 if ccname=="Belgium" & leader=="Delacroix"
replace leadno=212 if ccname=="Belgium" & leader=="de Wiart"
replace leadno=213 if ccname=="Belgium" & leader=="Theunis"
replace leadno=214 if ccname=="Belgium" & leader=="van der Vyvere"
replace leadno=215 if ccname=="Belgium" & leader=="Poullet"
replace leadno=216 if ccname=="Belgium" & leader=="Jasper"
replace leadno=217 if ccname=="Belgium" & leader=="Renkin"
replace leadno=218 if ccname=="Belgium" & leader=="Charles, baron de Broqueville"
replace leadno=219 if ccname=="Belgium" & leader=="Theunis"
replace leadno=220 if ccname=="Belgium" & leader=="van ZeeLand"
replace leadno=221 if ccname=="Belgium" & leader=="Janson"
replace leadno=222 if ccname=="Belgium" & leader=="Spaak"
replace leadno=223 if ccname=="Belgium" & leader=="Pierlot"
replace leadno=224 if ccname=="Belgium" & leader=="Pierlot"
replace leadno=225 if ccname=="Belgium" & leader=="van Acker"
replace leadno=226 if ccname=="Belgium" & leader=="Spaak"
replace leadno=227 if ccname=="Belgium" & leader=="van Acker"
replace leadno=228 if ccname=="Belgium" & leader=="Huysman"
replace leadno=229 if ccname=="Belgium" & leader=="Spaak"
replace leadno=230 if ccname=="Belgium" & leader=="Eyskens, G."
replace leadno=231 if ccname=="Belgium" & leader=="Duvieusart"
replace leadno=232 if ccname=="Belgium" & leader=="Pholien"
replace leadno=233 if ccname=="Belgium" & leader=="van Houtte"
replace leadno=234 if ccname=="Belgium" & leader=="van Acker"
replace leadno=235 if ccname=="Belgium" & leader=="Eyskens, G."
replace leadno=236 if ccname=="Belgium" & leader=="Lefevre"
replace leadno=237 if ccname=="Belgium" & leader=="Harmel"
replace leadno=238 if ccname=="Belgium" & leader=="Vanden Boeynants"
replace leadno=239 if ccname=="Belgium" & leader=="Eyskens, G."
replace leadno=240 if ccname=="Belgium" & leader=="Leburton"
replace leadno=241 if ccname=="Belgium" & leader=="Tindemans"
replace leadno=242 if ccname=="Belgium" & leader=="Vanden Boeynants"
replace leadno=243 if ccname=="Belgium" & leader=="Martens"
replace leadno=244 if ccname=="Belgium" & leader=="Eyskens, M."
replace leadno=245 if ccname=="Belgium" & leader=="Martens"
replace leadno=246 if ccname=="Belgium" & leader=="Dehaene"
replace leadno=247 if ccname=="Belgium" & leader=="Verhofstadt"
replace leadno=248 if ccname=="Benin" & leader=="Maga"
replace leadno=249 if ccname=="Benin" & leader=="Soglo"
replace leadno=250 if ccname=="Benin" & leader=="Apithy"
replace leadno=251 if ccname=="Benin" & leader=="Congacou"
replace leadno=252 if ccname=="Benin" & leader=="Soglo"
replace leadno=253 if ccname=="Benin" & leader=="Alley"
replace leadno=254 if ccname=="Benin" & leader=="Zinsou"
replace leadno=255 if ccname=="Benin" & leader=="Kouandete"
replace leadno=256 if ccname=="Benin" & leader=="Paul-Emile de Souza"
replace leadno=257 if ccname=="Benin" & leader=="Maga"
replace leadno=258 if ccname=="Benin" & leader=="Ahomadegbe"
replace leadno=259 if ccname=="Benin" & leader=="Kerekou"
replace leadno=260 if ccname=="Benin" & leader=="Soglo, C"
replace leadno=261 if ccname=="Benin" & leader=="Kerekou"
replace leadno=262 if ccname=="Bhutan" & leader=="Wangchuk, Jigme"
replace leadno=263 if ccname=="Bhutan" & leader=="Wangchuk, Jigme Dorji"
replace leadno=264 if ccname=="Bhutan" & leader=="Wangchuck, Jigme Singye"
replace leadno=265 if ccname=="Bhutan" & leader=="Lyonpo Jigme Thinley"
replace leadno=266 if ccname=="Bhutan" & leader=="Lyonpo Sangay Ngedup"
replace leadno=267 if ccname=="Bhutan" & leader=="Lyonpo Yeshey Zimba"
replace leadno=268 if ccname=="Bhutan" & leader=="Lyonpo Khandu Wangchuk"
replace leadno=269 if ccname=="Bhutan" & leader=="Lyonpo Kinzang Dorji"
replace leadno=270 if ccname=="Bhutan" & leader=="Lyonpo Jigme Thinley"
replace leadno=271 if ccname=="Bhutan" & leader=="Lyonpo Yeshey Zimba"
replace leadno=272 if ccname=="Bolivia" & leader=="Frias"
replace leadno=273 if ccname=="Bolivia" & leader=="Daza"
replace leadno=274 if ccname=="Bolivia" & leader=="Campero"
replace leadno=275 if ccname=="Bolivia" & leader=="Pacheco"
replace leadno=276 if ccname=="Bolivia" & leader=="Arce"
replace leadno=277 if ccname=="Bolivia" & leader=="Baptista"
replace leadno=278 if ccname=="Bolivia" & leader=="Fernandez Alonso"
replace leadno=279 if ccname=="Bolivia" & leader=="Jose Manuel Pando"
replace leadno=280 if ccname=="Bolivia" & leader=="Montes"
replace leadno=281 if ccname=="Bolivia" & leader=="Villazon"
replace leadno=282 if ccname=="Bolivia" & leader=="Montes"
replace leadno=283 if ccname=="Bolivia" & leader=="Gutierrez Guerra"
replace leadno=284 if ccname=="Bolivia" & leader=="Saavedra"
replace leadno=285 if ccname=="Bolivia" & leader=="Felipe Guzman"
replace leadno=286 if ccname=="Bolivia" & leader=="Siles"
replace leadno=287 if ccname=="Bolivia" & leader=="Blanco Galindo"
replace leadno=288 if ccname=="Bolivia" & leader=="Salamanca"
replace leadno=289 if ccname=="Bolivia" & leader=="Tejada Sorzano"
replace leadno=290 if ccname=="Bolivia" & leader=="Toro"
replace leadno=291 if ccname=="Bolivia" & leader=="Busch, G."
replace leadno=292 if ccname=="Bolivia" & leader=="Quintanila"
replace leadno=293 if ccname=="Bolivia" & leader=="Penaranda"
replace leadno=294 if ccname=="Bolivia" & leader=="Villarroel"
replace leadno=295 if ccname=="Bolivia" & leader=="Guillen"
replace leadno=296 if ccname=="Bolivia" & leader=="Gutierrez"
replace leadno=297 if ccname=="Bolivia" & leader=="Herzog"
replace leadno=298 if ccname=="Bolivia" & leader=="Urriolagoitia"
replace leadno=299 if ccname=="Bolivia" & leader=="Ballivian Rojas"
replace leadno=300 if ccname=="Bolivia" & leader=="Siles Zuazo"
replace leadno=301 if ccname=="Bolivia" & leader=="Paz Estenssoro"
replace leadno=302 if ccname=="Bolivia" & leader=="Siles Zuazo"
replace leadno=303 if ccname=="Bolivia" & leader=="Paz Estenssoro"
replace leadno=304 if ccname=="Bolivia" & leader=="Barrientos Ortuna"
replace leadno=305 if ccname=="Bolivia" & leader=="Ovando Candia"
replace leadno=306 if ccname=="Bolivia" & leader=="Barrientos Ortuna"
replace leadno=307 if ccname=="Bolivia" & leader=="Siles Salinas"
replace leadno=308 if ccname=="Bolivia" & leader=="Ovando Candia"
replace leadno=309 if ccname=="Bolivia" & leader=="Torres"
replace leadno=310 if ccname=="Bolivia" & leader=="Banzer Suarez"
replace leadno=311 if ccname=="Bolivia" & leader=="Pereda Asbun"
replace leadno=312 if ccname=="Bolivia" & leader=="Padilla Aranciba"
replace leadno=313 if ccname=="Bolivia" & leader=="Guevara Arze"
replace leadno=314 if ccname=="Bolivia" & leader=="Natusch Busch"
replace leadno=315 if ccname=="Bolivia" & leader=="Gueiler Tejada"
replace leadno=316 if ccname=="Bolivia" & leader=="Garcia Meza Tejada"
replace leadno=317 if ccname=="Bolivia" & leader=="Torrelio Villa"
replace leadno=318 if ccname=="Bolivia" & leader=="Vildoso Calderon"
replace leadno=319 if ccname=="Bolivia" & leader=="Siles Zuazo"
replace leadno=320 if ccname=="Bolivia" & leader=="Paz Estenssoro"
replace leadno=321 if ccname=="Bolivia" & leader=="Paz Zamora"
replace leadno=322 if ccname=="Bolivia" & leader=="Gonzalo Sanchez de Lozada"
replace leadno=323 if ccname=="Bolivia" & leader=="Banzer Suarez"
replace leadno=324 if ccname=="Bolivia" & leader=="Jorge Quiroga Ramirez"
replace leadno=325 if ccname=="Bolivia" & leader=="Gonzalo Sanchez de Lozada"
replace leadno=326 if ccname=="Bolivia" & leader=="Carlos Mesa"
replace leadno=327 if ccname=="Bosnia and Herzegovina" & leader=="Izetbegovic"
replace leadno=328 if ccname=="Bosnia and Herzegovina" & leader=="Radisic"
replace leadno=329 if ccname=="Bosnia and Herzegovina" & leader=="Jelavic"
replace leadno=330 if ccname=="Bosnia and Herzegovina" & leader=="Izetbegovic"
replace leadno=331 if ccname=="Bosnia and Herzegovina" & leader=="Radisic"
replace leadno=332 if ccname=="Bosnia and Herzegovina" & leader=="Krizanovic"
replace leadno=333 if ccname=="Bosnia and Herzegovina" & leader=="Belkic"
replace leadno=334 if ccname=="Bosnia and Herzegovina" & leader=="Sarovic"
replace leadno=335 if ccname=="Bosnia and Herzegovina" & leader=="Borislav Paravac"
replace leadno=336 if ccname=="Bosnia and Herzegovina" & leader=="Dragan Covic"
replace leadno=337 if ccname=="Bosnia and Herzegovina" & leader=="Sulejman Tihic"
replace leadno=338 if ccname=="Bosnia and Herzegovina" & leader=="Borislav Paravac"
replace leadno=339 if ccname=="Botswana" & leader=="Khama"
replace leadno=340 if ccname=="Botswana" & leader=="Masire"
replace leadno=341 if ccname=="Botswana" & leader=="Mogae"
replace leadno=342 if ccname=="Brazil" & leader=="Pedro II"
replace leadno=343 if ccname=="Brazil" & leader=="M. D. da Fonseca"
replace leadno=344 if ccname=="Brazil" & leader=="Peixoto"
replace leadno=345 if ccname=="Brazil" & leader=="de Moraes Barros"
replace leadno=346 if ccname=="Brazil" & leader=="de Campos Salles"
replace leadno=347 if ccname=="Brazil" & leader=="Rodriguez Alves"
replace leadno=348 if ccname=="Brazil" & leader=="Moreira Penna"
replace leadno=349 if ccname=="Brazil" & leader=="Pecanha"
replace leadno=350 if ccname=="Brazil" & leader=="H. R. da Fonseca"
replace leadno=351 if ccname=="Brazil" & leader=="Braz Pereira Gomez"
replace leadno=352 if ccname=="Brazil" & leader=="da Costa Ribeiro"
replace leadno=353 if ccname=="Brazil" & leader=="de Silva Pessoa"
replace leadno=354 if ccname=="Brazil" & leader=="de Silva Bernar"
replace leadno=355 if ccname=="Brazil" & leader=="de Souza"
replace leadno=356 if ccname=="Brazil" & leader=="Vargas"
replace leadno=357 if ccname=="Brazil" & leader=="Linhares"
replace leadno=358 if ccname=="Brazil" & leader=="Dutra"
replace leadno=359 if ccname=="Brazil" & leader=="Vargas"
replace leadno=360 if ccname=="Brazil" & leader=="Cafe Filho"
replace leadno=361 if ccname=="Brazil" & leader=="Coimbra da Luz"
replace leadno=362 if ccname=="Brazil" & leader=="Oliveria Ramos"
replace leadno=363 if ccname=="Brazil" & leader=="Kubitschek"
replace leadno=364 if ccname=="Brazil" & leader=="Quadros"
replace leadno=365 if ccname=="Brazil" & leader=="Ranieri Mazzilli"
replace leadno=366 if ccname=="Brazil" & leader=="Goulart"
replace leadno=367 if ccname=="Brazil" & leader=="Ranieri Mazzilli"
replace leadno=368 if ccname=="Brazil" & leader=="Castello Branco"
replace leadno=369 if ccname=="Brazil" & leader=="Costa de Silva"
replace leadno=370 if ccname=="Brazil" & leader=="Military Junta"
replace leadno=371 if ccname=="Brazil" & leader=="Medici"
replace leadno=372 if ccname=="Brazil" & leader=="Geisel"
replace leadno=373 if ccname=="Brazil" & leader=="Figueiredo"
replace leadno=374 if ccname=="Brazil" & leader=="Sarnay"
replace leadno=375 if ccname=="Brazil" & leader=="Mello"
replace leadno=376 if ccname=="Brazil" & leader=="Franco, Itamar"
replace leadno=377 if ccname=="Brazil" & leader=="Cardoso"
replace leadno=378 if ccname=="Brazil" & leader=="Lula da Silva"
replace leadno=379 if ccname=="Bulgaria" & leader=="Ferdinand I"
replace leadno=380 if ccname=="Bulgaria" & leader=="Boris III"
replace leadno=381 if ccname=="Bulgaria" & leader=="Cyril"
replace leadno=382 if ccname=="Bulgaria" & leader=="Georgiev"
replace leadno=383 if ccname=="Bulgaria" & leader=="Dimitrov"
replace leadno=384 if ccname=="Bulgaria" & leader=="Kolarov"
replace leadno=385 if ccname=="Bulgaria" & leader=="Chervenkov"
replace leadno=386 if ccname=="Bulgaria" & leader=="Zhivkov"
replace leadno=387 if ccname=="Bulgaria" & leader=="Mladenov"
replace leadno=388 if ccname=="Bulgaria" & leader=="Lukanov"
replace leadno=389 if ccname=="Bulgaria" & leader=="Popov"
replace leadno=390 if ccname=="Bulgaria" & leader=="Dimitrov, P."
replace leadno=391 if ccname=="Bulgaria" & leader=="Berov"
replace leadno=392 if ccname=="Bulgaria" & leader=="Indzhova"
replace leadno=393 if ccname=="Bulgaria" & leader=="Videnov"
replace leadno=394 if ccname=="Bulgaria" & leader=="Sofiyanski"
replace leadno=395 if ccname=="Bulgaria" & leader=="Kostov"
replace leadno=396 if ccname=="Bulgaria" & leader=="Saksgoburggotski"
replace leadno=397 if ccname=="Burkina Faso" & leader=="Yameogo"
replace leadno=398 if ccname=="Burkina Faso" & leader=="Lamizana"
replace leadno=399 if ccname=="Burkina Faso" & leader=="Gerard Kango Ouedraogo"
replace leadno=400 if ccname=="Burkina Faso" & leader=="Lamizana"
replace leadno=401 if ccname=="Burkina Faso" & leader=="Zerbo"
replace leadno=402 if ccname=="Burkina Faso" & leader=="J. P. Ouedraogo"
replace leadno=403 if ccname=="Burkina Faso" & leader=="Sankara"
replace leadno=404 if ccname=="Burkina Faso" & leader=="Campaore"
replace leadno=405 if ccname=="Burundi" & leader=="Mwambutsa"
replace leadno=406 if ccname=="Burundi" & leader=="Ntare"
replace leadno=407 if ccname=="Burundi" & leader=="Micombero"
replace leadno=408 if ccname=="Burundi" & leader=="Bagaza"
replace leadno=409 if ccname=="Burundi" & leader=="Buyoya"
replace leadno=410 if ccname=="Burundi" & leader=="Ndadaye"
replace leadno=411 if ccname=="Burundi" & leader=="Ngueze"
replace leadno=412 if ccname=="Burundi" & leader=="Kinigi"
replace leadno=413 if ccname=="Burundi" & leader=="Ntarymira"
replace leadno=414 if ccname=="Burundi" & leader=="Ntibantunganya"
replace leadno=415 if ccname=="Burundi" & leader=="Buyoya"
replace leadno=416 if ccname=="Burundi" & leader=="Ndayizeye"
replace leadno=417 if ccname=="Cambodia" & leader=="Sihanouk"
replace leadno=418 if ccname=="Cambodia" & leader=="Lon Nol"
replace leadno=419 if ccname=="Cambodia" & leader=="Pol Pot"
replace leadno=420 if ccname=="Cambodia" & leader=="Heng Samrin"
replace leadno=421 if ccname=="Cambodia" & leader=="Hun Sen"
replace leadno=422 if ccname=="Cambodia" & leader=="Ranariddh"
replace leadno=423 if ccname=="Cambodia" & leader=="Hun Sen"
replace leadno=424 if ccname=="Cameroon" & leader=="Ahidjo"
replace leadno=425 if ccname=="Cameroon" & leader=="Biya"
replace leadno=426 if ccname=="Canada" & leader=="Mackenzie"
replace leadno=427 if ccname=="Canada" & leader=="Macdonald"
replace leadno=428 if ccname=="Canada" & leader=="Abbott"
replace leadno=429 if ccname=="Canada" & leader=="Thompson"
replace leadno=430 if ccname=="Canada" & leader=="Bowell"
replace leadno=431 if ccname=="Canada" & leader=="Tupper"
replace leadno=432 if ccname=="Canada" & leader=="Laurier"
replace leadno=433 if ccname=="Canada" & leader=="Borden"
replace leadno=434 if ccname=="Canada" & leader=="Meighen"
replace leadno=435 if ccname=="Canada" & leader=="King"
replace leadno=436 if ccname=="Canada" & leader=="Meighen"
replace leadno=437 if ccname=="Canada" & leader=="King"
replace leadno=438 if ccname=="Canada" & leader=="Bennett"
replace leadno=439 if ccname=="Canada" & leader=="King"
replace leadno=440 if ccname=="Canada" & leader=="St. Laurent"
replace leadno=441 if ccname=="Canada" & leader=="Diefenbaker"
replace leadno=442 if ccname=="Canada" & leader=="Pearson"
replace leadno=443 if ccname=="Canada" & leader=="Trudeau"
replace leadno=444 if ccname=="Canada" & leader=="Clark"
replace leadno=445 if ccname=="Canada" & leader=="Trudeau"
replace leadno=446 if ccname=="Canada" & leader=="Turner"
replace leadno=447 if ccname=="Canada" & leader=="Mulroney"
replace leadno=448 if ccname=="Canada" & leader=="Kim Campbell"
replace leadno=449 if ccname=="Canada" & leader=="Chretien"
replace leadno=450 if ccname=="Canada" & leader=="Paul Martin"
replace leadno=451 if ccname=="Central African Republic" & leader=="Dacko"
replace leadno=452 if ccname=="Central African Republic" & leader=="Bokassa"
replace leadno=453 if ccname=="Central African Republic" & leader=="Dacko"
replace leadno=454 if ccname=="Central African Republic" & leader=="Kolingba"
replace leadno=455 if ccname=="Central African Republic" & leader=="Patasse"
replace leadno=456 if ccname=="Central African Republic" & leader=="Francois Bozize"
replace leadno=457 if ccname=="Chad" & leader=="Tombalbaye"
replace leadno=458 if ccname=="Chad" & leader=="Malloum"
replace leadno=459 if ccname=="Chad" & leader=="Oueddei"
replace leadno=460 if ccname=="Chad" & leader=="Habre"
replace leadno=461 if ccname=="Chad" & leader=="Deby"
replace leadno=462 if ccname=="Chile" & leader=="F.  Errazuriz Zanartu"
replace leadno=463 if ccname=="Chile" & leader=="Pinto"
replace leadno=464 if ccname=="Chile" & leader=="Santa Maria"
replace leadno=465 if ccname=="Chile" & leader=="Balmaceda"
replace leadno=466 if ccname=="Chile" & leader=="J. Montt-Alvarez"
replace leadno=467 if ccname=="Chile" & leader=="F. Errazuriz Echaurren"
replace leadno=468 if ccname=="Chile" & leader=="A. Zanartu Zanartu"
replace leadno=469 if ccname=="Chile" & leader=="Riesco Errazuriz"
replace leadno=470 if ccname=="Chile" & leader=="P. Montt"
replace leadno=471 if ccname=="Chile" & leader=="Albano"
replace leadno=472 if ccname=="Chile" & leader=="Figueroa Larrain"
replace leadno=473 if ccname=="Chile" & leader=="Lucco"
replace leadno=474 if ccname=="Chile" & leader=="Sanfuentes"
replace leadno=475 if ccname=="Chile" & leader=="Alessandri y Palma"
replace leadno=476 if ccname=="Chile" & leader=="Altamirano"
replace leadno=477 if ccname=="Chile" & leader=="Ibanez del Campo"
replace leadno=478 if ccname=="Chile" & leader=="Alessandri y Palma"
replace leadno=479 if ccname=="Chile" & leader=="Barros Borgono"
replace leadno=480 if ccname=="Chile" & leader=="Figueroa Larrain"
replace leadno=481 if ccname=="Chile" & leader=="Ibanez del Campo"
replace leadno=482 if ccname=="Chile" & leader=="Opazo Letelier"
replace leadno=483 if ccname=="Chile" & leader=="Montero Rodriquez"
replace leadno=484 if ccname=="Chile" & leader=="Trucco Franzani"
replace leadno=485 if ccname=="Chile" & leader=="Montero Rodriquez"
replace leadno=486 if ccname=="Chile" & leader=="Davila"
replace leadno=487 if ccname=="Chile" & leader=="Grove Vallejo"
replace leadno=488 if ccname=="Chile" & leader=="Davila"
replace leadno=489 if ccname=="Chile" & leader=="Blanche"
replace leadno=490 if ccname=="Chile" & leader=="Ovandel Urrutia"
replace leadno=491 if ccname=="Chile" & leader=="Alessandri y Palma"
replace leadno=492 if ccname=="Chile" & leader=="Aguirre Cerda"
replace leadno=493 if ccname=="Chile" & leader=="Mendez Arancibia"
replace leadno=494 if ccname=="Chile" & leader=="Rios Morales"
replace leadno=495 if ccname=="Chile" & leader=="Duhalde Vasquez"
replace leadno=496 if ccname=="Chile" & leader=="Bielech"
replace leadno=497 if ccname=="Chile" & leader=="Duhalde Vasquez"
replace leadno=498 if ccname=="Chile" & leader=="Iribarren"
replace leadno=499 if ccname=="Chile" & leader=="Gonzalez Videla"
replace leadno=500 if ccname=="Chile" & leader=="Ibanez Campo"
replace leadno=501 if ccname=="Chile" & leader=="Alessandri Rodriguez"
replace leadno=502 if ccname=="Chile" & leader=="Frei Montalva"
replace leadno=503 if ccname=="Chile" & leader=="Allende"
replace leadno=504 if ccname=="Chile" & leader=="Pinochet"
replace leadno=505 if ccname=="Chile" & leader=="Aylwin"
replace leadno=506 if ccname=="Chile" & leader=="Frei Ruiz-Tagle"
replace leadno=507 if ccname=="Chile" & leader=="Ricardo Lagos Escobar"
replace leadno=508 if ccname=="China" & leader=="Tz'u Hsi"
replace leadno=509 if ccname=="China" & leader=="Zaifeng"
replace leadno=510 if ccname=="China" & leader=="Empress Dowager Jonyu"
replace leadno=511 if ccname=="China" & leader=="Sun Yat-sen"
replace leadno=512 if ccname=="China" & leader=="Yuan Shih-kai"
replace leadno=513 if ccname=="China" & leader=="Li Yuan-Hung"
replace leadno=514 if ccname=="China" & leader=="Feng Kuo-chang"
replace leadno=515 if ccname=="China" & leader=="Hsu Shih-ch'ang"
replace leadno=516 if ccname=="China" & leader=="Li Yuan-Hung"
replace leadno=517 if ccname=="China" & leader=="Tsao Kun"
replace leadno=518 if ccname=="China" & leader=="Tuan Chi-jui"
replace leadno=519 if ccname=="China" & leader=="Chang Tso-lin"
replace leadno=520 if ccname=="China" & leader=="Chiang Kai-shek"
replace leadno=521 if ccname=="China" & leader=="Wang Kemin"
replace leadno=522 if ccname=="China" & leader=="Wang Jingwei"
replace leadno=523 if ccname=="China" & leader=="Chen Gongbo"
replace leadno=524 if ccname=="China" & leader=="Chiang Kai-shek"
replace leadno=525 if ccname=="China" & leader=="Mao Tse-Tung"
replace leadno=526 if ccname=="China" & leader=="Hua Guofeng"
replace leadno=527 if ccname=="China" & leader=="Deng Xiaoping"
replace leadno=528 if ccname=="China" & leader=="Jiang Zemin"
replace leadno=529 if ccname=="China" & leader=="Hu Jintao"
replace leadno=530 if ccname=="Colombia" & leader=="Perez"
replace leadno=531 if ccname=="Colombia" & leader=="Parra"
replace leadno=532 if ccname=="Colombia" & leader=="Camargo"
replace leadno=533 if ccname=="Colombia" & leader=="Parra"
replace leadno=534 if ccname=="Colombia" & leader=="Trujillo"
replace leadno=535 if ccname=="Colombia" & leader=="Nunez"
replace leadno=536 if ccname=="Colombia" & leader=="Zaldua"
replace leadno=537 if ccname=="Colombia" & leader=="Otalora"
replace leadno=538 if ccname=="Colombia" & leader=="Nunez"
replace leadno=539 if ccname=="Colombia" & leader=="Caro"
replace leadno=540 if ccname=="Colombia" & leader=="Sanclemente"
replace leadno=541 if ccname=="Colombia" & leader=="Marroquin"
replace leadno=542 if ccname=="Colombia" & leader=="Reyes Prieto"
replace leadno=543 if ccname=="Colombia" & leader=="J. Holguin"
replace leadno=544 if ccname=="Colombia" & leader=="Gonzales Valencia"
replace leadno=545 if ccname=="Colombia" & leader=="Restropo"
replace leadno=546 if ccname=="Colombia" & leader=="Concha"
replace leadno=547 if ccname=="Colombia" & leader=="Suarez"
replace leadno=548 if ccname=="Colombia" & leader=="J. Holguin"
replace leadno=549 if ccname=="Colombia" & leader=="Nel Ospina"
replace leadno=550 if ccname=="Colombia" & leader=="Abadia Mendez"
replace leadno=551 if ccname=="Colombia" & leader=="Olaya Herrera"
replace leadno=552 if ccname=="Colombia" & leader=="Lopez Pumarejo"
replace leadno=553 if ccname=="Colombia" & leader=="Santos"
replace leadno=554 if ccname=="Colombia" & leader=="Lopez Pumarejo"
replace leadno=555 if ccname=="Colombia" & leader=="Lleras Camargo"
replace leadno=556 if ccname=="Colombia" & leader=="Ospina Perez"
replace leadno=557 if ccname=="Colombia" & leader=="Laureanco Gomez"
replace leadno=558 if ccname=="Colombia" & leader=="Roberto Urdaneta Arbelaez"
replace leadno=559 if ccname=="Colombia" & leader=="Laureanco Gomez"
replace leadno=560 if ccname=="Colombia" & leader=="Rojas Pinillia"
replace leadno=561 if ccname=="Colombia" & leader=="Paris"
replace leadno=562 if ccname=="Colombia" & leader=="Lleras Camargo"
replace leadno=563 if ccname=="Colombia" & leader=="Guillermo-Leon"
replace leadno=564 if ccname=="Colombia" & leader=="Lleras Restropo"
replace leadno=565 if ccname=="Colombia" & leader=="Pastrana Borrero"
replace leadno=566 if ccname=="Colombia" & leader=="Lopez Michelsen"
replace leadno=567 if ccname=="Colombia" & leader=="Turbay"
replace leadno=568 if ccname=="Colombia" & leader=="Betancur"
replace leadno=569 if ccname=="Colombia" & leader=="Vargas"
replace leadno=570 if ccname=="Colombia" & leader=="Trujillo"
replace leadno=571 if ccname=="Colombia" & leader=="Pizano"
replace leadno=572 if ccname=="Colombia" & leader=="Arango"
replace leadno=573 if ccname=="Colombia" & leader=="Alvaro Uribe Velez"
replace leadno=574 if ccname=="Comoros" & leader=="Abdallah"
replace leadno=575 if ccname=="Comoros" & leader=="Soilih"
replace leadno=576 if ccname=="Comoros" & leader=="Bob Denard"
replace leadno=577 if ccname=="Comoros" & leader=="Djohar"
replace leadno=578 if ccname=="Comoros" & leader=="Bob Denard"
replace leadno=579 if ccname=="Comoros" & leader=="el-Yachroutu"
replace leadno=580 if ccname=="Comoros" & leader=="Djohar"
replace leadno=581 if ccname=="Comoros" & leader=="Abdoulkarim"
replace leadno=582 if ccname=="Comoros" & leader=="Massounde"
replace leadno=583 if ccname=="Comoros" & leader=="Azali Assoumani"
replace leadno=584 if ccname=="Comoros" & leader=="Hamada Madi"
replace leadno=585 if ccname=="Comoros" & leader=="Azali Assoumani"
replace leadno=586 if ccname=="Congo" & leader=="Youlou"
replace leadno=587 if ccname=="Congo" & leader=="Debat"
replace leadno=588 if ccname=="Congo" & leader=="Raoul"
replace leadno=589 if ccname=="Congo" & leader=="Ngouabi"
replace leadno=590 if ccname=="Congo" & leader=="Opango"
replace leadno=591 if ccname=="Congo" & leader=="Nguesso"
replace leadno=592 if ccname=="Congo" & leader=="Lissouba"
replace leadno=593 if ccname=="Congo" & leader=="Nguesso"
replace leadno=594 if ccname=="Costa Rica" & leader=="Guardia"
replace leadno=595 if ccname=="Costa Rica" & leader=="Lizano"
replace leadno=596 if ccname=="Costa Rica" & leader=="Prospero Fernandez Oreamuno"
replace leadno=597 if ccname=="Costa Rica" & leader=="Bernardo Soto Alfaro"
replace leadno=598 if ccname=="Costa Rica" & leader=="Carlos Duran Cartin"
replace leadno=599 if ccname=="Costa Rica" & leader=="Jose Joaquin Rodriguez"
replace leadno=600 if ccname=="Costa Rica" & leader=="Rafael Yglesias Castro"
replace leadno=601 if ccname=="Costa Rica" & leader=="Ascension Esquivel Ibarra"
replace leadno=602 if ccname=="Costa Rica" & leader=="Gonzalez Viquez"
replace leadno=603 if ccname=="Costa Rica" & leader=="Jimenez Oreamuno"
replace leadno=604 if ccname=="Costa Rica" & leader=="Alfredo Gonzalez Flores"
replace leadno=605 if ccname=="Costa Rica" & leader=="Federico Tinoco Granados"
replace leadno=606 if ccname=="Costa Rica" & leader=="Juan Bautista Quiros Segura"
replace leadno=607 if ccname=="Costa Rica" & leader=="Barquero"
replace leadno=608 if ccname=="Costa Rica" & leader=="Acosta Garcia"
replace leadno=609 if ccname=="Costa Rica" & leader=="Jimenez Oreamuno"
replace leadno=610 if ccname=="Costa Rica" & leader=="Gonzalez Viquez"
replace leadno=611 if ccname=="Costa Rica" & leader=="Jimenez Oreamuno"
replace leadno=612 if ccname=="Costa Rica" & leader=="Cortes Castro"
replace leadno=613 if ccname=="Costa Rica" & leader=="Calderon Guardi"
replace leadno=614 if ccname=="Costa Rica" & leader=="Picado Michalski"
replace leadno=615 if ccname=="Costa Rica" & leader=="Leon Herrera"
replace leadno=616 if ccname=="Costa Rica" & leader=="Figueres Ferrer"
replace leadno=617 if ccname=="Costa Rica" & leader=="Otilia Ulate"
replace leadno=618 if ccname=="Costa Rica" & leader=="Figueres Ferrer"
replace leadno=619 if ccname=="Costa Rica" & leader=="Echandi Jimenez"
replace leadno=620 if ccname=="Costa Rica" & leader=="Orlich"
replace leadno=621 if ccname=="Costa Rica" & leader=="Trejos"
replace leadno=622 if ccname=="Costa Rica" & leader=="Figueres Ferrer"
replace leadno=623 if ccname=="Costa Rica" & leader=="Quiros, Daniel"
replace leadno=624 if ccname=="Costa Rica" & leader=="Carazo Odio"
replace leadno=625 if ccname=="Costa Rica" & leader=="Monge Alverez"
replace leadno=626 if ccname=="Costa Rica" & leader=="Arias"
replace leadno=627 if ccname=="Costa Rica" & leader=="Calderon Fournier"
replace leadno=628 if ccname=="Costa Rica" & leader=="Figueres Olsen"
replace leadno=629 if ccname=="Costa Rica" & leader=="Rodriguez Echeverria"
replace leadno=630 if ccname=="Costa Rica" & leader=="de la Espriella"
replace leadno=631 if ccname=="Cote d'Ivoire" & leader=="Houphouet-Boigny"
replace leadno=632 if ccname=="Cote d'Ivoire" & leader=="Konan Bedie"
replace leadno=633 if ccname=="Cote d'Ivoire" & leader=="Guei"
replace leadno=634 if ccname=="Cote d'Ivoire" & leader=="Laurent Gbagbo"
replace leadno=635 if ccname=="Croatia" & leader=="Tudjman"
replace leadno=636 if ccname=="Croatia" & leader=="Pavletic"
replace leadno=637 if ccname=="Croatia" & leader=="Tomcic"
replace leadno=638 if ccname=="Croatia" & leader=="Mesic"
replace leadno=639 if ccname=="Cuba" & leader=="Palma"
replace leadno=640 if ccname=="Cuba" & leader=="Gomez"
replace leadno=641 if ccname=="Cuba" & leader=="Menocal"
replace leadno=642 if ccname=="Cuba" & leader=="Zyas y Alfonso"
replace leadno=643 if ccname=="Cuba" & leader=="Machado Morales"
replace leadno=644 if ccname=="Cuba" & leader=="de Cespedes"
replace leadno=645 if ccname=="Cuba" & leader=="Grau San Martin"
replace leadno=646 if ccname=="Cuba" & leader=="Hevia"
replace leadno=647 if ccname=="Cuba" & leader=="Mendieta"
replace leadno=648 if ccname=="Cuba" & leader=="Barnet"
replace leadno=649 if ccname=="Cuba" & leader=="Gomez y Arias"
replace leadno=650 if ccname=="Cuba" & leader=="Laredo Bru"
replace leadno=651 if ccname=="Cuba" & leader=="Batista"
replace leadno=652 if ccname=="Cuba" & leader=="Grau San Martin"
replace leadno=653 if ccname=="Cuba" & leader=="Prio Socarres"
replace leadno=654 if ccname=="Cuba" & leader=="Batista"
replace leadno=655 if ccname=="Cuba" & leader=="Castro"
replace leadno=656 if ccname=="Cyprus" & leader=="Makarios"
replace leadno=657 if ccname=="Cyprus" & leader=="Sampson"
replace leadno=658 if ccname=="Cyprus" & leader=="Clerides"
replace leadno=659 if ccname=="Cyprus" & leader=="Makarios"
replace leadno=660 if ccname=="Cyprus" & leader=="Kyprianou"
replace leadno=661 if ccname=="Cyprus" & leader=="Vassiliou"
replace leadno=662 if ccname=="Cyprus" & leader=="Clerides"
replace leadno=663 if ccname=="Cyprus" & leader=="Tassos Nikolaou Papadopoulos"
replace leadno=664 if ccname=="Czech Republic" & leader=="Klaus"
replace leadno=665 if ccname=="Czech Republic" & leader=="Tosovsky"
replace leadno=666 if ccname=="Czech Republic" & leader=="Zeman"
replace leadno=667 if ccname=="Czech Republic" & leader=="Spidla"
replace leadno=668 if ccname=="Czech Republic" & leader=="Stanislav Gross"
replace leadno=669 if ccname=="Czechoslovakia" & leader=="Masaryk"
replace leadno=670 if ccname=="Czechoslovakia" & leader=="Benes"
replace leadno=671 if ccname=="Czechoslovakia" & leader=="Syrovy"
replace leadno=672 if ccname=="Czechoslovakia" & leader=="Hacha"
replace leadno=673 if ccname=="Czechoslovakia" & leader=="Benes"
replace leadno=674 if ccname=="Czechoslovakia" & leader=="Gottwald"
replace leadno=675 if ccname=="Czechoslovakia" & leader=="Zapotocky"
replace leadno=676 if ccname=="Czechoslovakia" & leader=="Novotny"
replace leadno=677 if ccname=="Czechoslovakia" & leader=="Dubcek"
replace leadno=678 if ccname=="Czechoslovakia" & leader=="Svoboda"
replace leadno=679 if ccname=="Czechoslovakia" & leader=="Husak"
replace leadno=680 if ccname=="Czechoslovakia" & leader=="Calfa"
replace leadno=681 if ccname=="Czechoslovakia" & leader=="Strasky"
replace leadno=682 if ccname=="Democratic Republic of Congo" & leader=="Lumumba"
replace leadno=683 if ccname=="Democratic Republic of Congo" & leader=="Mobutu"
replace leadno=684 if ccname=="Democratic Republic of Congo" & leader=="Kasavubu"
replace leadno=685 if ccname=="Democratic Republic of Congo" & leader=="Mobutu"
replace leadno=686 if ccname=="Democratic Republic of Congo" & leader=="Laurent Kabila"
replace leadno=687 if ccname=="Democratic Republic of Congo" & leader=="Joseph Kabila"
replace leadno=688 if ccname=="Denmark" & leader=="Fonnesbech"
replace leadno=689 if ccname=="Denmark" & leader=="Estrup"
replace leadno=690 if ccname=="Denmark" & leader=="Reedtz-Thott"
replace leadno=691 if ccname=="Denmark" & leader=="Horring"
replace leadno=692 if ccname=="Denmark" & leader=="Sehested"
replace leadno=693 if ccname=="Denmark" & leader=="Deuntzer"
replace leadno=694 if ccname=="Denmark" & leader=="Christensen"
replace leadno=695 if ccname=="Denmark" & leader=="Neergaard"
replace leadno=696 if ccname=="Denmark" & leader=="J. Holstein"
replace leadno=697 if ccname=="Denmark" & leader=="Zahle"
replace leadno=698 if ccname=="Denmark" & leader=="Bernsten"
replace leadno=699 if ccname=="Denmark" & leader=="Zahle"
replace leadno=700 if ccname=="Denmark" & leader=="Liebe"
replace leadno=701 if ccname=="Denmark" & leader=="Friis"
replace leadno=702 if ccname=="Denmark" & leader=="Neergaard"
replace leadno=703 if ccname=="Denmark" & leader=="Stauning"
replace leadno=704 if ccname=="Denmark" & leader=="Madsen-Mygdat"
replace leadno=705 if ccname=="Denmark" & leader=="Stauning"
replace leadno=706 if ccname=="Denmark" & leader=="Buhl"
replace leadno=707 if ccname=="Denmark" & leader=="Scavenius"
replace leadno=708 if ccname=="Denmark" & leader=="Buhl"
replace leadno=709 if ccname=="Denmark" & leader=="Kristensen"
replace leadno=710 if ccname=="Denmark" & leader=="Hedtoft"
replace leadno=711 if ccname=="Denmark" & leader=="Eriksen"
replace leadno=712 if ccname=="Denmark" & leader=="Hedtoft"
replace leadno=713 if ccname=="Denmark" & leader=="Hansen"
replace leadno=714 if ccname=="Denmark" & leader=="Kampmann"
replace leadno=715 if ccname=="Denmark" & leader=="Krag"
replace leadno=716 if ccname=="Denmark" & leader=="Baunsgaard"
replace leadno=717 if ccname=="Denmark" & leader=="Krag"
replace leadno=718 if ccname=="Denmark" & leader=="Jorgensen"
replace leadno=719 if ccname=="Denmark" & leader=="Hartling"
replace leadno=720 if ccname=="Denmark" & leader=="Jorgensen"
replace leadno=721 if ccname=="Denmark" & leader=="Schluter"
replace leadno=722 if ccname=="Denmark" & leader=="Nyrup Rasmussen"
replace leadno=723 if ccname=="Denmark" & leader=="Fogh Rasmussen"
replace leadno=724 if ccname=="Djibouti" & leader=="Gouled Aptidon"
replace leadno=725 if ccname=="Djibouti" & leader=="Guelleh"
replace leadno=726 if ccname=="Dominican Republic" & leader=="Gonzalez"
replace leadno=727 if ccname=="Dominican Republic" & leader=="Villanueva"
replace leadno=728 if ccname=="Dominican Republic" & leader=="Espaillat"
replace leadno=729 if ccname=="Dominican Republic" & leader=="Gonzalez"
replace leadno=730 if ccname=="Dominican Republic" & leader=="Buenaventura Baez"
replace leadno=731 if ccname=="Dominican Republic" & leader=="Guillermo"
replace leadno=732 if ccname=="Dominican Republic" & leader=="Gonzalez"
replace leadno=733 if ccname=="Dominican Republic" & leader=="del Rosario de Castro"
replace leadno=734 if ccname=="Dominican Republic" & leader=="Guillermo"
replace leadno=735 if ccname=="Dominican Republic" & leader=="Luperon"
replace leadno=736 if ccname=="Dominican Republic" & leader=="de Merino"
replace leadno=737 if ccname=="Dominican Republic" & leader=="Heureaux"
replace leadno=738 if ccname=="Dominican Republic" & leader=="Billini"
replace leadno=739 if ccname=="Dominican Republic" & leader=="Woss y Gil"
replace leadno=740 if ccname=="Dominican Republic" & leader=="Heureaux"
replace leadno=741 if ccname=="Dominican Republic" & leader=="Figuereo"
replace leadno=742 if ccname=="Dominican Republic" & leader=="Vasquez"
replace leadno=743 if ccname=="Dominican Republic" & leader=="Jimenez"
replace leadno=744 if ccname=="Dominican Republic" & leader=="Vasquez"
replace leadno=745 if ccname=="Dominican Republic" & leader=="Woss y Gil"
replace leadno=746 if ccname=="Dominican Republic" & leader=="Morales"
replace leadno=747 if ccname=="Dominican Republic" & leader=="Caceres"
replace leadno=748 if ccname=="Dominican Republic" & leader=="Victoria"
replace leadno=749 if ccname=="Dominican Republic" & leader=="Nouel y Bobadilla"
replace leadno=750 if ccname=="Dominican Republic" & leader=="Bordas y Valdes"
replace leadno=751 if ccname=="Dominican Republic" & leader=="Ramon Baez"
replace leadno=752 if ccname=="Dominican Republic" & leader=="Jimenez"
replace leadno=753 if ccname=="Dominican Republic" & leader=="Vasquez"
replace leadno=754 if ccname=="Dominican Republic" & leader=="Estrella Urena"
replace leadno=755 if ccname=="Dominican Republic" & leader=="Rafel Trujillo"
replace leadno=756 if ccname=="Dominican Republic" & leader=="Balaguer"
replace leadno=757 if ccname=="Dominican Republic" & leader=="Echavarria"
replace leadno=758 if ccname=="Dominican Republic" & leader=="Filiberto Bonnelly"
replace leadno=759 if ccname=="Dominican Republic" & leader=="Bosch"
replace leadno=760 if ccname=="Dominican Republic" & leader=="de los Santos"
replace leadno=761 if ccname=="Dominican Republic" & leader=="Cabral"
replace leadno=762 if ccname=="Dominican Republic" & leader=="Molina Urena"
replace leadno=763 if ccname=="Dominican Republic" & leader=="Bartolome Benoit"
replace leadno=764 if ccname=="Dominican Republic" & leader=="Berreras"
replace leadno=765 if ccname=="Dominican Republic" & leader=="Godoy"
replace leadno=766 if ccname=="Dominican Republic" & leader=="Balaguer"
replace leadno=767 if ccname=="Dominican Republic" & leader=="Guzman Fernandez"
replace leadno=768 if ccname=="Dominican Republic" & leader=="Majluta Azar"
replace leadno=769 if ccname=="Dominican Republic" & leader=="Blanco"
replace leadno=770 if ccname=="Dominican Republic" & leader=="Balaguer"
replace leadno=771 if ccname=="Dominican Republic" & leader=="Fernandez Reyna"
replace leadno=772 if ccname=="Dominican Republic" & leader=="Hipolito Mejia"
replace leadno=773 if ccname=="Dominican Republic" & leader=="Fernandez Reyna"
replace leadno=774 if ccname=="East Timor" & leader=="Gusmao"
replace leadno=775 if ccname=="Ecuador" & leader=="Moreno"
replace leadno=776 if ccname=="Ecuador" & leader=="Borrero y Cortazar"
replace leadno=777 if ccname=="Ecuador" & leader=="Veintemilla"
replace leadno=778 if ccname=="Ecuador" & leader=="Aloy Alfaro Delgado"
replace leadno=779 if ccname=="Ecuador" & leader=="Borrero y Cortazar"
replace leadno=780 if ccname=="Ecuador" & leader=="Perez Pareja"
replace leadno=781 if ccname=="Ecuador" & leader=="Caamano"
replace leadno=782 if ccname=="Ecuador" & leader=="Flores"
replace leadno=783 if ccname=="Ecuador" & leader=="Cordero"
replace leadno=784 if ccname=="Ecuador" & leader=="Aloy Alfaro Delgado"
replace leadno=785 if ccname=="Ecuador" & leader=="Plaza Gutierrez"
replace leadno=786 if ccname=="Ecuador" & leader=="Garcia"
replace leadno=787 if ccname=="Ecuador" & leader=="Aloy Alfaro Delgado"
replace leadno=788 if ccname=="Ecuador" & leader=="Freile"
replace leadno=789 if ccname=="Ecuador" & leader=="E. Estrada"
replace leadno=790 if ccname=="Ecuador" & leader=="Freile"
replace leadno=791 if ccname=="Ecuador" & leader=="Andrade Marin"
replace leadno=792 if ccname=="Ecuador" & leader=="Alfredo Baquerizo Moreno"
replace leadno=793 if ccname=="Ecuador" & leader=="Plaza Gutierrez"
replace leadno=794 if ccname=="Ecuador" & leader=="Alfredo Baquerizo Moreno"
replace leadno=795 if ccname=="Ecuador" & leader=="Tamayo"
replace leadno=796 if ccname=="Ecuador" & leader=="Cordova"
replace leadno=797 if ccname=="Ecuador" & leader=="Ayora"
replace leadno=798 if ccname=="Ecuador" & leader=="Larrea Alba"
replace leadno=799 if ccname=="Ecuador" & leader=="Alfredo Baquerizo Moreno"
replace leadno=800 if ccname=="Ecuador" & leader=="Freile Larrea"
replace leadno=801 if ccname=="Ecuador" & leader=="Guerrero Martin"
replace leadno=802 if ccname=="Ecuador" & leader=="Martinez Mera"
replace leadno=803 if ccname=="Ecuador" & leader=="Montalvo"
replace leadno=804 if ccname=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=805 if ccname=="Ecuador" & leader=="Pons"
replace leadno=806 if ccname=="Ecuador" & leader=="Paez"
replace leadno=807 if ccname=="Ecuador" & leader=="Enriquez Gallo"
replace leadno=808 if ccname=="Ecuador" & leader=="Manuel Maria Borrero"
replace leadno=809 if ccname=="Ecuador" & leader=="Mosquera Narvaez"
replace leadno=810 if ccname=="Ecuador" & leader=="Arroyo del Rio"
replace leadno=811 if ccname=="Ecuador" & leader=="Cordova Nieto"
replace leadno=812 if ccname=="Ecuador" & leader=="Moreno"
replace leadno=813 if ccname=="Ecuador" & leader=="Arroyo del Rio"
replace leadno=814 if ccname=="Ecuador" & leader=="Navarro Allende"
replace leadno=815 if ccname=="Ecuador" & leader=="Larrea Alba"
replace leadno=816 if ccname=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=817 if ccname=="Ecuador" & leader=="Mancheno"
replace leadno=818 if ccname=="Ecuador" & leader=="Suarez"
replace leadno=819 if ccname=="Ecuador" & leader=="Arosemana Tola"
replace leadno=820 if ccname=="Ecuador" & leader=="Plaza Lasso"
replace leadno=821 if ccname=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=822 if ccname=="Ecuador" & leader=="Ponce Enriquez"
replace leadno=823 if ccname=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=824 if ccname=="Ecuador" & leader=="Arosemena Monroy"
replace leadno=825 if ccname=="Ecuador" & leader=="Castro"
replace leadno=826 if ccname=="Ecuador" & leader=="Yerovi Indaburu"
replace leadno=827 if ccname=="Ecuador" & leader=="Arosemena Gomez"
replace leadno=828 if ccname=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=829 if ccname=="Ecuador" & leader=="Rodriguez Lara"
replace leadno=830 if ccname=="Ecuador" & leader=="Poveda Burbano"
replace leadno=831 if ccname=="Ecuador" & leader=="Roldos Aquilers"
replace leadno=832 if ccname=="Ecuador" & leader=="Hurtado Larrea"
replace leadno=833 if ccname=="Ecuador" & leader=="Febres Cordaro"
replace leadno=834 if ccname=="Ecuador" & leader=="Borja Cevallos"
replace leadno=835 if ccname=="Ecuador" & leader=="Duran Ballen"
replace leadno=836 if ccname=="Ecuador" & leader=="Bucaram Ortiz"
replace leadno=837 if ccname=="Ecuador" & leader=="Alarcon Fabian"
replace leadno=838 if ccname=="Ecuador" & leader=="Arteaga Serrano"
replace leadno=839 if ccname=="Ecuador" & leader=="Alarcon Fabian"
replace leadno=840 if ccname=="Ecuador" & leader=="Mahuad"
replace leadno=841 if ccname=="Ecuador" & leader=="Gustavo Noboa"
replace leadno=842 if ccname=="Ecuador" & leader=="Lucio Gutierrez"
replace leadno=843 if ccname=="Egypt" & leader=="Fuad I"
replace leadno=844 if ccname=="Egypt" & leader=="Farouk"
replace leadno=845 if ccname=="Egypt" & leader=="Naguib"
replace leadno=846 if ccname=="Egypt" & leader=="Nasser"
replace leadno=847 if ccname=="Egypt" & leader=="Sadat"
replace leadno=848 if ccname=="Egypt" & leader=="Mubarak"
replace leadno=849 if ccname=="El Salvador" & leader=="Gonzalez"
replace leadno=850 if ccname=="El Salvador" & leader=="Andres del Valle"
replace leadno=851 if ccname=="El Salvador" & leader=="Zaldivar"
replace leadno=852 if ccname=="El Salvador" & leader=="Menendez"
replace leadno=853 if ccname=="El Salvador" & leader=="Ezeta"
replace leadno=854 if ccname=="El Salvador" & leader=="Guttierez"
replace leadno=855 if ccname=="El Salvador" & leader=="Regalado"
replace leadno=856 if ccname=="El Salvador" & leader=="Escalon"
replace leadno=857 if ccname=="El Salvador" & leader=="Figueroa"
replace leadno=858 if ccname=="El Salvador" & leader=="Araujo"
replace leadno=859 if ccname=="El Salvador" & leader=="C. Melendez"
replace leadno=860 if ccname=="El Salvador" & leader=="Quinonez Molina"
replace leadno=861 if ccname=="El Salvador" & leader=="C. Melendez"
replace leadno=862 if ccname=="El Salvador" & leader=="Quinonez Molina"
replace leadno=863 if ccname=="El Salvador" & leader=="J. Melendez"
replace leadno=864 if ccname=="El Salvador" & leader=="Quinonez Molina"
replace leadno=865 if ccname=="El Salvador" & leader=="Romeo Bosque"
replace leadno=866 if ccname=="El Salvador" & leader=="Arajuo, A."
replace leadno=867 if ccname=="El Salvador" & leader=="Hernandez Martinez"
replace leadno=868 if ccname=="El Salvador" & leader=="Menendez, A.I."
replace leadno=869 if ccname=="El Salvador" & leader=="Hernandez Martinez"
replace leadno=870 if ccname=="El Salvador" & leader=="Menendez, A.I."
replace leadno=871 if ccname=="El Salvador" & leader=="Aguirre Salinas"
replace leadno=872 if ccname=="El Salvador" & leader=="Castaneda Castro"
replace leadno=873 if ccname=="El Salvador" & leader=="Cordova"
replace leadno=874 if ccname=="El Salvador" & leader=="Osorio"
replace leadno=875 if ccname=="El Salvador" & leader=="Oscar Bolanos"
replace leadno=876 if ccname=="El Salvador" & leader=="Osorio"
replace leadno=877 if ccname=="El Salvador" & leader=="Lemus"
replace leadno=878 if ccname=="El Salvador" & leader=="Castillo"
replace leadno=879 if ccname=="El Salvador" & leader=="Portillo"
replace leadno=880 if ccname=="El Salvador" & leader=="Rodolfo Cordon"
replace leadno=881 if ccname=="El Salvador" & leader=="Rivera"
replace leadno=882 if ccname=="El Salvador" & leader=="Sanchez Hernandez"
replace leadno=883 if ccname=="El Salvador" & leader=="Molina"
replace leadno=884 if ccname=="El Salvador" & leader=="Romero Mena"
replace leadno=885 if ccname=="El Salvador" & leader=="Majano Ramos"
replace leadno=886 if ccname=="El Salvador" & leader=="Duarte"
replace leadno=887 if ccname=="El Salvador" & leader=="Magana Borjo"
replace leadno=888 if ccname=="El Salvador" & leader=="Duarte"
replace leadno=889 if ccname=="El Salvador" & leader=="Cristiani"
replace leadno=890 if ccname=="El Salvador" & leader=="Calderon Sol"
replace leadno=891 if ccname=="El Salvador" & leader=="Flores"
replace leadno=892 if ccname=="El Salvador" & leader=="Saca Gonz�lez"
replace leadno=893 if ccname=="Equatorial Guinea" & leader=="Bonifacio Ondo Edu"
replace leadno=894 if ccname=="Equatorial Guinea" & leader=="Macias Nguema"
replace leadno=895 if ccname=="Equatorial Guinea" & leader=="Nguema Mbasogo"
replace leadno=896 if ccname=="Eritrea" & leader=="Afeworki"
replace leadno=897 if ccname=="Estonia" & leader=="Pats"
replace leadno=898 if ccname=="Estonia" & leader=="Strandman"
replace leadno=899 if ccname=="Estonia" & leader=="Tonisson"
replace leadno=900 if ccname=="Estonia" & leader=="Piip"
replace leadno=901 if ccname=="Estonia" & leader=="Pats"
replace leadno=902 if ccname=="Estonia" & leader=="Kukk"
replace leadno=903 if ccname=="Estonia" & leader=="Pats"
replace leadno=904 if ccname=="Estonia" & leader=="Akel"
replace leadno=905 if ccname=="Estonia" & leader=="Jaakson"
replace leadno=906 if ccname=="Estonia" & leader=="Teemant"
replace leadno=907 if ccname=="Estonia" & leader=="Uluots"
replace leadno=908 if ccname=="Estonia" & leader=="Tonisson"
replace leadno=909 if ccname=="Estonia" & leader=="Rei"
replace leadno=910 if ccname=="Estonia" & leader=="Strandman"
replace leadno=911 if ccname=="Estonia" & leader=="Pats"
replace leadno=912 if ccname=="Estonia" & leader=="Teemant"
replace leadno=913 if ccname=="Estonia" & leader=="Einbund"
replace leadno=914 if ccname=="Estonia" & leader=="Pats"
replace leadno=915 if ccname=="Estonia" & leader=="Tonisson"
replace leadno=916 if ccname=="Estonia" & leader=="Pats"
replace leadno=917 if ccname=="Estonia" & leader=="Vares"
replace leadno=918 if ccname=="Estonia" & leader=="Savisaar"
replace leadno=919 if ccname=="Estonia" & leader=="Vahi"
replace leadno=920 if ccname=="Estonia" & leader=="Laar"
replace leadno=921 if ccname=="Estonia" & leader=="Tarand"
replace leadno=922 if ccname=="Estonia" & leader=="Vahi"
replace leadno=923 if ccname=="Estonia" & leader=="Siimann"
replace leadno=924 if ccname=="Estonia" & leader=="Laar"
replace leadno=925 if ccname=="Estonia" & leader=="Kallas"
replace leadno=926 if ccname=="Estonia" & leader=="Parts"
replace leadno=927 if ccname=="Ethiopia" & leader=="Yohannes IV"
replace leadno=928 if ccname=="Ethiopia" & leader=="Menelek II"
replace leadno=929 if ccname=="Ethiopia" & leader=="Joshua (Lij Yasu)"
replace leadno=930 if ccname=="Ethiopia" & leader=="Judith (Zanditu)"
replace leadno=931 if ccname=="Ethiopia" & leader=="Selassie"
replace leadno=932 if ccname=="Ethiopia" & leader=="King of Italy/Emperor of Ethiopia"
replace leadno=933 if ccname=="Ethiopia" & leader=="Selassie"
replace leadno=934 if ccname=="Ethiopia" & leader=="Andom"
replace leadno=935 if ccname=="Ethiopia" & leader=="Banti"
replace leadno=936 if ccname=="Ethiopia" & leader=="Mengistu Marriam"
replace leadno=937 if ccname=="Ethiopia" & leader=="Gebre Kidan"
replace leadno=938 if ccname=="Ethiopia" & leader=="Meles Zenawi"
replace leadno=939 if ccname=="Fiji" & leader=="Mara"
replace leadno=940 if ccname=="Fiji" & leader=="Bavadra"
replace leadno=941 if ccname=="Fiji" & leader=="Rabuka"
replace leadno=942 if ccname=="Fiji" & leader=="Mara"
replace leadno=943 if ccname=="Fiji" & leader=="Rabuka"
replace leadno=944 if ccname=="Fiji" & leader=="Chaudhry"
replace leadno=945 if ccname=="Fiji" & leader=="Ratu Josefa Iloilo"
replace leadno=946 if ccname=="Fiji" & leader=="Bainimarama"
replace leadno=947 if ccname=="Fiji" & leader=="Laisenia Qarase"
replace leadno=948 if ccname=="Finland" & leader=="Svinhufud"
replace leadno=949 if ccname=="Finland" & leader=="Mannerheim"
replace leadno=950 if ccname=="Finland" & leader=="Stahlberg"
replace leadno=951 if ccname=="Finland" & leader=="Relander"
replace leadno=952 if ccname=="Finland" & leader=="Svinhufud"
replace leadno=953 if ccname=="Finland" & leader=="Kallio"
replace leadno=954 if ccname=="Finland" & leader=="Ryti"
replace leadno=955 if ccname=="Finland" & leader=="Mannerheim"
replace leadno=956 if ccname=="Finland" & leader=="Paasikivi"
replace leadno=957 if ccname=="Finland" & leader=="Kekkonen"
replace leadno=958 if ccname=="Finland" & leader=="Koivisto"
replace leadno=959 if ccname=="Finland" & leader=="Marthi Ahtisaari"
replace leadno=960 if ccname=="Finland" & leader=="Halonen"
replace leadno=961 if ccname=="France" & leader=="Cissey"
replace leadno=962 if ccname=="France" & leader=="Buffet"
replace leadno=963 if ccname=="France" & leader=="DuFaure"
replace leadno=964 if ccname=="France" & leader=="Simon"
replace leadno=965 if ccname=="France" & leader=="Broglie"
replace leadno=966 if ccname=="France" & leader=="Rochebouet"
replace leadno=967 if ccname=="France" & leader=="DuFaure"
replace leadno=968 if ccname=="France" & leader=="Waddington"
replace leadno=969 if ccname=="France" & leader=="Freycinet"
replace leadno=970 if ccname=="France" & leader=="Ferry"
replace leadno=971 if ccname=="France" & leader=="Gambetta"
replace leadno=972 if ccname=="France" & leader=="Freycinet"
replace leadno=973 if ccname=="France" & leader=="Duclerc"
replace leadno=974 if ccname=="France" & leader=="Fallieres"
replace leadno=975 if ccname=="France" & leader=="Ferry"
replace leadno=976 if ccname=="France" & leader=="Brisson"
replace leadno=977 if ccname=="France" & leader=="Freycinet"
replace leadno=978 if ccname=="France" & leader=="Goblet"
replace leadno=979 if ccname=="France" & leader=="Rouvier"
replace leadno=980 if ccname=="France" & leader=="Tirard"
replace leadno=981 if ccname=="France" & leader=="Floquet"
replace leadno=982 if ccname=="France" & leader=="Tirard"
replace leadno=983 if ccname=="France" & leader=="Freycinet"
replace leadno=984 if ccname=="France" & leader=="Loubet"
replace leadno=985 if ccname=="France" & leader=="Ribot"
replace leadno=986 if ccname=="France" & leader=="Dupuy"
replace leadno=987 if ccname=="France" & leader=="Casimir-Perier"
replace leadno=988 if ccname=="France" & leader=="Dupuy"
replace leadno=989 if ccname=="France" & leader=="Ribot"
replace leadno=990 if ccname=="France" & leader=="Bourgeois"
replace leadno=991 if ccname=="France" & leader=="Meline"
replace leadno=992 if ccname=="France" & leader=="Brisson"
replace leadno=993 if ccname=="France" & leader=="Dupuy"
replace leadno=994 if ccname=="France" & leader=="Waldeck-Rousseau"
replace leadno=995 if ccname=="France" & leader=="Combes"
replace leadno=996 if ccname=="France" & leader=="Rouvier"
replace leadno=997 if ccname=="France" & leader=="Sarrien"
replace leadno=998 if ccname=="France" & leader=="Clemenceau"
replace leadno=999 if ccname=="France" & leader=="Briand"
replace leadno=1000 if ccname=="France" & leader=="Monis"
replace leadno=1001 if ccname=="France" & leader=="Caillaux"
replace leadno=1002 if ccname=="France" & leader=="Poincare"
replace leadno=1003 if ccname=="France" & leader=="Briand"
replace leadno=1004 if ccname=="France" & leader=="Barthou"
replace leadno=1005 if ccname=="France" & leader=="Doumergue"
replace leadno=1006 if ccname=="France" & leader=="Viviani"
replace leadno=1007 if ccname=="France" & leader=="Briand"
replace leadno=1008 if ccname=="France" & leader=="Ribot"
replace leadno=1009 if ccname=="France" & leader=="Painleve"
replace leadno=1010 if ccname=="France" & leader=="Clemenceau"
replace leadno=1011 if ccname=="France" & leader=="Millerand"
replace leadno=1012 if ccname=="France" & leader=="Leygues"
replace leadno=1013 if ccname=="France" & leader=="Briand"
replace leadno=1014 if ccname=="France" & leader=="Poincare"
replace leadno=1015 if ccname=="France" & leader=="Francois-Marsat"
replace leadno=1016 if ccname=="France" & leader=="Herriot"
replace leadno=1017 if ccname=="France" & leader=="Painleve"
replace leadno=1018 if ccname=="France" & leader=="Briand"
replace leadno=1019 if ccname=="France" & leader=="Herriot"
replace leadno=1020 if ccname=="France" & leader=="Poincare"
replace leadno=1021 if ccname=="France" & leader=="Briand"
replace leadno=1022 if ccname=="France" & leader=="Poincare"
replace leadno=1023 if ccname=="France" & leader=="Tardieu"
replace leadno=1024 if ccname=="France" & leader=="Chautemps"
replace leadno=1025 if ccname=="France" & leader=="Tardieu"
replace leadno=1026 if ccname=="France" & leader=="Steeg"
replace leadno=1027 if ccname=="France" & leader=="Laval"
replace leadno=1028 if ccname=="France" & leader=="Tardieu"
replace leadno=1029 if ccname=="France" & leader=="Herriot"
replace leadno=1030 if ccname=="France" & leader=="Paul-Boncour"
replace leadno=1031 if ccname=="France" & leader=="Daladier"
replace leadno=1032 if ccname=="France" & leader=="Sarraut"
replace leadno=1033 if ccname=="France" & leader=="Chautemps"
replace leadno=1034 if ccname=="France" & leader=="Daladier"
replace leadno=1035 if ccname=="France" & leader=="Doumergue"
replace leadno=1036 if ccname=="France" & leader=="Flandin"
replace leadno=1037 if ccname=="France" & leader=="Bouissin"
replace leadno=1038 if ccname=="France" & leader=="Laval"
replace leadno=1039 if ccname=="France" & leader=="Sarraut"
replace leadno=1040 if ccname=="France" & leader=="Blum"
replace leadno=1041 if ccname=="France" & leader=="Chautemps"
replace leadno=1042 if ccname=="France" & leader=="Blum"
replace leadno=1043 if ccname=="France" & leader=="Daladier"
replace leadno=1044 if ccname=="France" & leader=="Reynaud"
replace leadno=1045 if ccname=="France" & leader=="Petain"
replace leadno=1046 if ccname=="France" & leader=="Laval"
replace leadno=1047 if ccname=="France" & leader=="De Gaulle"
replace leadno=1048 if ccname=="France" & leader=="Gouin"
replace leadno=1049 if ccname=="France" & leader=="Bidault"
replace leadno=1050 if ccname=="France" & leader=="Blum"
replace leadno=1051 if ccname=="France" & leader=="Ramadier"
replace leadno=1052 if ccname=="France" & leader=="Schuman"
replace leadno=1053 if ccname=="France" & leader=="Marie"
replace leadno=1054 if ccname=="France" & leader=="Schuman"
replace leadno=1055 if ccname=="France" & leader=="Queuille"
replace leadno=1056 if ccname=="France" & leader=="Bidault"
replace leadno=1057 if ccname=="France" & leader=="Queuille"
replace leadno=1058 if ccname=="France" & leader=="Pleven"
replace leadno=1059 if ccname=="France" & leader=="Queuille"
replace leadno=1060 if ccname=="France" & leader=="Pleven"
replace leadno=1061 if ccname=="France" & leader=="Faure"
replace leadno=1062 if ccname=="France" & leader=="Pinay"
replace leadno=1063 if ccname=="France" & leader=="Mayer"
replace leadno=1064 if ccname=="France" & leader=="Laniel"
replace leadno=1065 if ccname=="France" & leader=="Mendes-France"
replace leadno=1066 if ccname=="France" & leader=="Faure"
replace leadno=1067 if ccname=="France" & leader=="Mollet"
replace leadno=1068 if ccname=="France" & leader=="Bourges-Maunory"
replace leadno=1069 if ccname=="France" & leader=="Gaillard"
replace leadno=1070 if ccname=="France" & leader=="Pflimin"
replace leadno=1071 if ccname=="France" & leader=="De Gaulle"
replace leadno=1072 if ccname=="France" & leader=="Poher"
replace leadno=1073 if ccname=="France" & leader=="Pompidou"
replace leadno=1074 if ccname=="France" & leader=="Poher"
replace leadno=1075 if ccname=="France" & leader=="Giscard D'Estaing"
replace leadno=1076 if ccname=="France" & leader=="Mitterand"
replace leadno=1077 if ccname=="France" & leader=="Chirac"
replace leadno=1078 if ccname=="Gabon" & leader=="Mba"
replace leadno=1079 if ccname=="Gabon" & leader=="Aubaume"
replace leadno=1080 if ccname=="Gabon" & leader=="Mba"
replace leadno=1081 if ccname=="Gabon" & leader=="Bongo"
replace leadno=1082 if ccname=="Gambia" & leader=="Jawara"
replace leadno=1083 if ccname=="Gambia" & leader=="Jammeh"
replace leadno=1084 if ccname=="Georgia" & leader=="Gamsakhurdia"
replace leadno=1085 if ccname=="Georgia" & leader=="Ioseliani"
replace leadno=1086 if ccname=="Georgia" & leader=="Shevardnadze"
replace leadno=1087 if ccname=="Georgia" & leader=="Burdjanadze"
replace leadno=1088 if ccname=="Georgia" & leader=="Saakashvili"
replace leadno=1089 if ccname=="German Democratic Republic" & leader=="Wilhelm Pieck"
replace leadno=1090 if ccname=="German Democratic Republic" & leader=="Ulbricht"
replace leadno=1091 if ccname=="German Democratic Republic" & leader=="Honecker"
replace leadno=1092 if ccname=="German Democratic Republic" & leader=="Krenz"
replace leadno=1093 if ccname=="German Democratic Republic" & leader=="Gysi"
replace leadno=1094 if ccname=="Germany" & leader=="Wilhelm I"
replace leadno=1095 if ccname=="Germany" & leader=="Friedrich III"
replace leadno=1096 if ccname=="Germany" & leader=="Wilhelm II"
replace leadno=1097 if ccname=="Germany" & leader=="Ebert"
replace leadno=1098 if ccname=="Germany" & leader=="Scheidemann"
replace leadno=1099 if ccname=="Germany" & leader=="Bauer"
replace leadno=1100 if ccname=="Germany" & leader=="Muller"
replace leadno=1101 if ccname=="Germany" & leader=="Fehrenback"
replace leadno=1102 if ccname=="Germany" & leader=="Wirth"
replace leadno=1103 if ccname=="Germany" & leader=="Cuno"
replace leadno=1104 if ccname=="Germany" & leader=="Stresemann"
replace leadno=1105 if ccname=="Germany" & leader=="Marx"
replace leadno=1106 if ccname=="Germany" & leader=="Luther"
replace leadno=1107 if ccname=="Germany" & leader=="Marx"
replace leadno=1108 if ccname=="Germany" & leader=="Muller"
replace leadno=1109 if ccname=="Germany" & leader=="Bruning"
replace leadno=1110 if ccname=="Germany" & leader=="Papen"
replace leadno=1111 if ccname=="Germany" & leader=="Schleicher"
replace leadno=1112 if ccname=="Germany" & leader=="Hitler"
replace leadno=1113 if ccname=="Germany" & leader=="Doenitz"
replace leadno=1114 if ccname=="Germany" & leader=="Adenauer"
replace leadno=1115 if ccname=="Germany" & leader=="Erhard"
replace leadno=1116 if ccname=="Germany" & leader=="Kiesinger"
replace leadno=1117 if ccname=="Germany" & leader=="Brandt"
replace leadno=1118 if ccname=="Germany" & leader=="Schmidt"
replace leadno=1119 if ccname=="Germany" & leader=="Kohl"
replace leadno=1120 if ccname=="Germany" & leader=="Schroder"
replace leadno=1121 if ccname=="Ghana" & leader=="Nkrumah"
replace leadno=1122 if ccname=="Ghana" & leader=="Ankrah"
replace leadno=1123 if ccname=="Ghana" & leader=="Afrifa"
replace leadno=1124 if ccname=="Ghana" & leader=="Busia"
replace leadno=1125 if ccname=="Ghana" & leader=="Acheampong"
replace leadno=1126 if ccname=="Ghana" & leader=="Akuffo"
replace leadno=1127 if ccname=="Ghana" & leader=="Rawlings"
replace leadno=1128 if ccname=="Ghana" & leader=="Limann"
replace leadno=1129 if ccname=="Ghana" & leader=="Rawlings"
replace leadno=1130 if ccname=="Ghana" & leader=="John Agyekum Kufuor"
replace leadno=1131 if ccname=="Greece" & leader=="George I"
replace leadno=1132 if ccname=="Greece" & leader=="Konstantinos I"
replace leadno=1133 if ccname=="Greece" & leader=="Venizelos"
replace leadno=1134 if ccname=="Greece" & leader=="Rallis"
replace leadno=1135 if ccname=="Greece" & leader=="Konstantinos I"
replace leadno=1136 if ccname=="Greece" & leader=="Plastiras"
replace leadno=1137 if ccname=="Greece" & leader=="Gonatas"
replace leadno=1138 if ccname=="Greece" & leader=="Venizelos"
replace leadno=1139 if ccname=="Greece" & leader=="Kaphantaris"
replace leadno=1140 if ccname=="Greece" & leader=="Papanastasiou"
replace leadno=1141 if ccname=="Greece" & leader=="Sophoulis"
replace leadno=1142 if ccname=="Greece" & leader=="Michalakopoulos"
replace leadno=1143 if ccname=="Greece" & leader=="Pangalos"
replace leadno=1144 if ccname=="Greece" & leader=="Kondilis"
replace leadno=1145 if ccname=="Greece" & leader=="Zaimis"
replace leadno=1146 if ccname=="Greece" & leader=="Venizelos"
replace leadno=1147 if ccname=="Greece" & leader=="Papanastasiou"
replace leadno=1148 if ccname=="Greece" & leader=="Venizelos"
replace leadno=1149 if ccname=="Greece" & leader=="Tsaldaris"
replace leadno=1150 if ccname=="Greece" & leader=="Venizelos"
replace leadno=1151 if ccname=="Greece" & leader=="Plastiras"
replace leadno=1152 if ccname=="Greece" & leader=="Tsaldaris"
replace leadno=1153 if ccname=="Greece" & leader=="Kondilis"
replace leadno=1154 if ccname=="Greece" & leader=="Demertzis"
replace leadno=1155 if ccname=="Greece" & leader=="Metaxas"
replace leadno=1156 if ccname=="Greece" & leader=="Korizis"
replace leadno=1157 if ccname=="Greece" & leader=="Tsouderos"
replace leadno=1158 if ccname=="Greece" & leader=="G. Papandreou"
replace leadno=1159 if ccname=="Greece" & leader=="Plastiras"
replace leadno=1160 if ccname=="Greece" & leader=="Voulgaris"
replace leadno=1161 if ccname=="Greece" & leader=="Damaskinos"
replace leadno=1162 if ccname=="Greece" & leader=="Kanellopoulos"
replace leadno=1163 if ccname=="Greece" & leader=="Sophoulis"
replace leadno=1164 if ccname=="Greece" & leader=="Poulitsas"
replace leadno=1165 if ccname=="Greece" & leader=="K. Tsaldaris"
replace leadno=1166 if ccname=="Greece" & leader=="Maximos"
replace leadno=1167 if ccname=="Greece" & leader=="K. Tsaldaris"
replace leadno=1168 if ccname=="Greece" & leader=="Sophoulis"
replace leadno=1169 if ccname=="Greece" & leader=="Diomidis"
replace leadno=1170 if ccname=="Greece" & leader=="Theotokis"
replace leadno=1171 if ccname=="Greece" & leader=="S. Venizelos"
replace leadno=1172 if ccname=="Greece" & leader=="Plastiras"
replace leadno=1173 if ccname=="Greece" & leader=="S. Venizelos"
replace leadno=1174 if ccname=="Greece" & leader=="Plastiras"
replace leadno=1175 if ccname=="Greece" & leader=="Kiousopoulos"
replace leadno=1176 if ccname=="Greece" & leader=="Papagos"
replace leadno=1177 if ccname=="Greece" & leader=="Stephanopoulos"
replace leadno=1178 if ccname=="Greece" & leader=="Karamanlis"
replace leadno=1179 if ccname=="Greece" & leader=="Georgakopoulos"
replace leadno=1180 if ccname=="Greece" & leader=="Karamanlis"
replace leadno=1181 if ccname=="Greece" & leader=="Dovas"
replace leadno=1182 if ccname=="Greece" & leader=="Karamanlis"
replace leadno=1183 if ccname=="Greece" & leader=="Pipinelis"
replace leadno=1184 if ccname=="Greece" & leader=="Mavromichalis"
replace leadno=1185 if ccname=="Greece" & leader=="G. Papandreou"
replace leadno=1186 if ccname=="Greece" & leader=="Paraskevopoulos"
replace leadno=1187 if ccname=="Greece" & leader=="G. Papandreou"
replace leadno=1188 if ccname=="Greece" & leader=="Athaniadis-Novas"
replace leadno=1189 if ccname=="Greece" & leader=="Tsirimokos"
replace leadno=1190 if ccname=="Greece" & leader=="Stephanopoulos"
replace leadno=1191 if ccname=="Greece" & leader=="Paraskevopoulos"
replace leadno=1192 if ccname=="Greece" & leader=="Kanellopoulos"
replace leadno=1193 if ccname=="Greece" & leader=="Kollias"
replace leadno=1194 if ccname=="Greece" & leader=="Papadopoulos"
replace leadno=1195 if ccname=="Greece" & leader=="Ionannides"
replace leadno=1196 if ccname=="Greece" & leader=="Karamanlis"
replace leadno=1197 if ccname=="Greece" & leader=="Rallis"
replace leadno=1198 if ccname=="Greece" & leader=="A. Papandreou"
replace leadno=1199 if ccname=="Greece" & leader=="Tzannetakis"
replace leadno=1200 if ccname=="Greece" & leader=="Grivas"
replace leadno=1201 if ccname=="Greece" & leader=="Zolotas"
replace leadno=1202 if ccname=="Greece" & leader=="Mitsotakis"
replace leadno=1203 if ccname=="Greece" & leader=="A. Papandreou"
replace leadno=1204 if ccname=="Greece" & leader=="Tsokhatzopulos"
replace leadno=1205 if ccname=="Greece" & leader=="Simitis"
replace leadno=1206 if ccname=="Greece" & leader=="Konstantinos Karamanlis"
replace leadno=1207 if ccname=="Guatemala" & leader=="Justo Rufino Barrios"
replace leadno=1208 if ccname=="Guatemala" & leader=="Barillas"
replace leadno=1209 if ccname=="Guatemala" & leader=="Reina Barrios"
replace leadno=1210 if ccname=="Guatemala" & leader=="Estrada-Cabrera"
replace leadno=1211 if ccname=="Guatemala" & leader=="Herrera y Luna"
replace leadno=1212 if ccname=="Guatemala" & leader=="Orellana, J."
replace leadno=1213 if ccname=="Guatemala" & leader=="Chacon"
replace leadno=1214 if ccname=="Guatemala" & leader=="Palma"
replace leadno=1215 if ccname=="Guatemala" & leader=="Orellana, M."
replace leadno=1216 if ccname=="Guatemala" & leader=="Reyna Andrade"
replace leadno=1217 if ccname=="Guatemala" & leader=="Ubico Castaneda"
replace leadno=1218 if ccname=="Guatemala" & leader=="Ponce Valdez"
replace leadno=1219 if ccname=="Guatemala" & leader=="Arbenz Guzman"
replace leadno=1220 if ccname=="Guatemala" & leader=="Arevalo"
replace leadno=1221 if ccname=="Guatemala" & leader=="Arbenz Guzman"
replace leadno=1222 if ccname=="Guatemala" & leader=="Diaz"
replace leadno=1223 if ccname=="Guatemala" & leader=="Monzon"
replace leadno=1224 if ccname=="Guatemala" & leader=="Castillo Armas"
replace leadno=1225 if ccname=="Guatemala" & leader=="Gonzalez Lopez"
replace leadno=1226 if ccname=="Guatemala" & leader=="Mendoza Azurdia"
replace leadno=1227 if ccname=="Guatemala" & leader=="Flores Avendano"
replace leadno=1228 if ccname=="Guatemala" & leader=="Ydigoras Fuente"
replace leadno=1229 if ccname=="Guatemala" & leader=="Peralta Azurdia"
replace leadno=1230 if ccname=="Guatemala" & leader=="Mendez Montenegro"
replace leadno=1231 if ccname=="Guatemala" & leader=="Arana Osorio"
replace leadno=1232 if ccname=="Guatemala" & leader=="Laugerud Garcia"
replace leadno=1233 if ccname=="Guatemala" & leader=="Lucas Garcia"
replace leadno=1234 if ccname=="Guatemala" & leader=="Rios Montt"
replace leadno=1235 if ccname=="Guatemala" & leader=="Mejia Victores"
replace leadno=1236 if ccname=="Guatemala" & leader=="Cerezo"
replace leadno=1237 if ccname=="Guatemala" & leader=="Serrano Elias"
replace leadno=1238 if ccname=="Guatemala" & leader=="Espina Salguero"
replace leadno=1239 if ccname=="Guatemala" & leader=="Leon Carpio"
replace leadno=1240 if ccname=="Guatemala" & leader=="Arzu Yrigoyen"
replace leadno=1241 if ccname=="Guatemala" & leader=="Alfonso Portillo Cabrera"
replace leadno=1242 if ccname=="Guatemala" & leader=="Berger Perdomo"
replace leadno=1243 if ccname=="Guinea" & leader=="Toure"
replace leadno=1244 if ccname=="Guinea" & leader=="Beavogui"
replace leadno=1245 if ccname=="Guinea" & leader=="Conte"
replace leadno=1246 if ccname=="Guinea-Bissau" & leader=="Cabral"
replace leadno=1247 if ccname=="Guinea-Bissau" & leader=="Vieira"
replace leadno=1248 if ccname=="Guinea-Bissau" & leader=="Mane"
replace leadno=1249 if ccname=="Guinea-Bissau" & leader=="Sanha"
replace leadno=1250 if ccname=="Guinea-Bissau" & leader=="Kumba Iala"
replace leadno=1251 if ccname=="Guinea-Bissau" & leader=="Correia Seabra"
replace leadno=1252 if ccname=="Guinea-Bissau" & leader=="Henrique Pereira Rosa"
replace leadno=1253 if ccname=="Guyana" & leader=="Burnham"
replace leadno=1254 if ccname=="Guyana" & leader=="Hoyte"
replace leadno=1255 if ccname=="Guyana" & leader=="Jagan Cheddi"
replace leadno=1256 if ccname=="Guyana" & leader=="Samuel Hinds"
replace leadno=1257 if ccname=="Guyana" & leader=="Janet Jagan"
replace leadno=1258 if ccname=="Guyana" & leader=="Bharrat Jagdeo"
replace leadno=1259 if ccname=="Haiti" & leader=="Rameau"
replace leadno=1260 if ccname=="Haiti" & leader=="Canal"
replace leadno=1261 if ccname=="Haiti" & leader=="Herrise"
replace leadno=1262 if ccname=="Haiti" & leader=="Lamothe"
replace leadno=1263 if ccname=="Haiti" & leader=="Salomon"
replace leadno=1264 if ccname=="Haiti" & leader=="Canal"
replace leadno=1265 if ccname=="Haiti" & leader=="Legitime"
replace leadno=1266 if ccname=="Haiti" & leader=="Hippolyte"
replace leadno=1267 if ccname=="Haiti" & leader=="P. A. T. Simon"
replace leadno=1268 if ccname=="Haiti" & leader=="Canal"
replace leadno=1269 if ccname=="Haiti" & leader=="Nord"
replace leadno=1270 if ccname=="Haiti" & leader=="A. Simon"
replace leadno=1271 if ccname=="Haiti" & leader=="Leconte"
replace leadno=1272 if ccname=="Haiti" & leader=="Tancred Auguste"
replace leadno=1273 if ccname=="Haiti" & leader=="Michel Oreste"
replace leadno=1274 if ccname=="Haiti" & leader=="Oreste Zamor"
replace leadno=1275 if ccname=="Haiti" & leader=="Theodore"
replace leadno=1276 if ccname=="Haiti" & leader=="Velbrun-Guillaume"
replace leadno=1277 if ccname=="Haiti" & leader=="Vincent"
replace leadno=1278 if ccname=="Haiti" & leader=="Lescot"
replace leadno=1279 if ccname=="Haiti" & leader=="Lavaud"
replace leadno=1280 if ccname=="Haiti" & leader=="Estime"
replace leadno=1281 if ccname=="Haiti" & leader=="Magloire"
replace leadno=1282 if ccname=="Haiti" & leader=="Pierre-Louis"
replace leadno=1283 if ccname=="Haiti" & leader=="Sylvain"
replace leadno=1284 if ccname=="Haiti" & leader=="Cantave"
replace leadno=1285 if ccname=="Haiti" & leader=="Executive council"
replace leadno=1286 if ccname=="Haiti" & leader=="Cantave"
replace leadno=1287 if ccname=="Haiti" & leader=="Fignole"
replace leadno=1288 if ccname=="Haiti" & leader=="Kebreau"
replace leadno=1289 if ccname=="Haiti" & leader=="Duvalier, Francois"
replace leadno=1290 if ccname=="Haiti" & leader=="Duvalier, Jean-"
replace leadno=1291 if ccname=="Haiti" & leader=="Namphy"
replace leadno=1292 if ccname=="Haiti" & leader=="Manigat"
replace leadno=1293 if ccname=="Haiti" & leader=="Namphy"
replace leadno=1294 if ccname=="Haiti" & leader=="Avril"
replace leadno=1295 if ccname=="Haiti" & leader=="Abraham"
replace leadno=1296 if ccname=="Haiti" & leader=="Pascal-Troillet"
replace leadno=1297 if ccname=="Haiti" & leader=="Aristide"
replace leadno=1298 if ccname=="Haiti" & leader=="Cedras"
replace leadno=1299 if ccname=="Haiti" & leader=="Aristide"
replace leadno=1300 if ccname=="Haiti" & leader=="Preval"
replace leadno=1301 if ccname=="Haiti" & leader=="Aristide"
replace leadno=1302 if ccname=="Haiti" & leader=="Boniface Alexandre"
replace leadno=1303 if ccname=="Honduras" & leader=="Leiva"
replace leadno=1304 if ccname=="Honduras" & leader=="Soto"
replace leadno=1305 if ccname=="Honduras" & leader=="Council of Ministers"
replace leadno=1306 if ccname=="Honduras" & leader=="Bogran"
replace leadno=1307 if ccname=="Honduras" & leader=="Leiva"
replace leadno=1308 if ccname=="Honduras" & leader=="Vasquez"
replace leadno=1309 if ccname=="Honduras" & leader=="P. Bonilla"
replace leadno=1310 if ccname=="Honduras" & leader=="Sierra"
replace leadno=1311 if ccname=="Honduras" & leader=="M. Bonilla"
replace leadno=1312 if ccname=="Honduras" & leader=="Davila"
replace leadno=1313 if ccname=="Honduras" & leader=="Bertrand"
replace leadno=1314 if ccname=="Honduras" & leader=="M. Bonilla"
replace leadno=1315 if ccname=="Honduras" & leader=="Bertrand"
replace leadno=1316 if ccname=="Honduras" & leader=="Alberto Membreno"
replace leadno=1317 if ccname=="Honduras" & leader=="Bertrand"
replace leadno=1318 if ccname=="Honduras" & leader=="Bogran"
replace leadno=1319 if ccname=="Honduras" & leader=="Lopez-Gutierrez"
replace leadno=1320 if ccname=="Honduras" & leader=="Vicente Tosta"
replace leadno=1321 if ccname=="Honduras" & leader=="Paz Baraona"
replace leadno=1322 if ccname=="Honduras" & leader=="Mejia Colindres"
replace leadno=1323 if ccname=="Honduras" & leader=="Carias Andino"
replace leadno=1324 if ccname=="Honduras" & leader=="Galvez"
replace leadno=1325 if ccname=="Honduras" & leader=="Lozano Diaz"
replace leadno=1326 if ccname=="Honduras" & leader=="Hector Caraccioli"
replace leadno=1327 if ccname=="Honduras" & leader=="Villeda Morales"
replace leadno=1328 if ccname=="Honduras" & leader=="Lopez Arellano"
replace leadno=1329 if ccname=="Honduras" & leader=="Cruz"
replace leadno=1330 if ccname=="Honduras" & leader=="Lopez Arellano"
replace leadno=1331 if ccname=="Honduras" & leader=="Castro"
replace leadno=1332 if ccname=="Honduras" & leader=="Paz Garcia"
replace leadno=1333 if ccname=="Honduras" & leader=="Suazo Cordova"
replace leadno=1334 if ccname=="Honduras" & leader=="Azcona Hoyo"
replace leadno=1335 if ccname=="Honduras" & leader=="Callejas"
replace leadno=1336 if ccname=="Honduras" & leader=="Reina"
replace leadno=1337 if ccname=="Honduras" & leader=="Flores Facusse"
replace leadno=1338 if ccname=="Honduras" & leader=="Ricardo Maduro"
replace leadno=1339 if ccname=="Hungary" & leader=="Karolyi"
replace leadno=1340 if ccname=="Hungary" & leader=="Kun"
replace leadno=1341 if ccname=="Hungary" & leader=="Peidl"
replace leadno=1342 if ccname=="Hungary" & leader=="Friedrich"
replace leadno=1343 if ccname=="Hungary" & leader=="Huszar"
replace leadno=1344 if ccname=="Hungary" & leader=="Horthy"
replace leadno=1345 if ccname=="Hungary" & leader=="Rakoski"
replace leadno=1346 if ccname=="Hungary" & leader=="Gero"
replace leadno=1347 if ccname=="Hungary" & leader=="Nagy"
replace leadno=1348 if ccname=="Hungary" & leader=="Kadar"
replace leadno=1349 if ccname=="Hungary" & leader=="Grosz"
replace leadno=1350 if ccname=="Hungary" & leader=="Szuros"
replace leadno=1351 if ccname=="Hungary" & leader=="Antall"
replace leadno=1352 if ccname=="Hungary" & leader=="Boross"
replace leadno=1353 if ccname=="Hungary" & leader=="Horn"
replace leadno=1354 if ccname=="Hungary" & leader=="Orban"
replace leadno=1355 if ccname=="Hungary" & leader=="Peter Medgyessy"
replace leadno=1356 if ccname=="Hungary" & leader=="Ferenc Gyurcsany"
replace leadno=1357 if ccname=="India" & leader=="Nehru"
replace leadno=1358 if ccname=="India" & leader=="Nanda"
replace leadno=1359 if ccname=="India" & leader=="Shastri"
replace leadno=1360 if ccname=="India" & leader=="Nanda"
replace leadno=1361 if ccname=="India" & leader=="Gandhi, I."
replace leadno=1362 if ccname=="India" & leader=="Desai"
replace leadno=1363 if ccname=="India" & leader=="Charan Singh"
replace leadno=1364 if ccname=="India" & leader=="Gandhi, I."
replace leadno=1365 if ccname=="India" & leader=="Gandhi, R."
replace leadno=1366 if ccname=="India" & leader=="Pratap Singh"
replace leadno=1367 if ccname=="India" & leader=="Shekhar"
replace leadno=1368 if ccname=="India" & leader=="Rao"
replace leadno=1369 if ccname=="India" & leader=="Vajpayee"
replace leadno=1370 if ccname=="India" & leader=="Gowda"
replace leadno=1371 if ccname=="India" & leader=="Gujral"
replace leadno=1372 if ccname=="India" & leader=="Vajpayee"
replace leadno=1373 if ccname=="India" & leader=="Manmohan Singh"
replace leadno=1374 if ccname=="Indonesia" & leader=="Sukarno"
replace leadno=1375 if ccname=="Indonesia" & leader=="Louis Beel"
replace leadno=1376 if ccname=="Indonesia" & leader=="A. H. J. Lovink"
replace leadno=1377 if ccname=="Indonesia" & leader=="Sukarno"
replace leadno=1378 if ccname=="Indonesia" & leader=="Suharto"
replace leadno=1379 if ccname=="Indonesia" & leader=="Habibie"
replace leadno=1380 if ccname=="Indonesia" & leader=="Wahid"
replace leadno=1381 if ccname=="Indonesia" & leader=="Megawati Sukarnoputri"
replace leadno=1382 if ccname=="Indonesia" & leader=="Bambang Yudhoyono"
replace leadno=1383 if ccname=="Iran" & leader=="Nasir Ad-Din"
replace leadno=1384 if ccname=="Iran" & leader=="Muzaffar ad-Din"
replace leadno=1385 if ccname=="Iran" & leader=="Mohammed Ali Shah"
replace leadno=1386 if ccname=="Iran" & leader=="Sultan Ahmad"
replace leadno=1387 if ccname=="Iran" & leader=="Reza Khan"
replace leadno=1388 if ccname=="Iran" & leader=="Mohammad Reza"
replace leadno=1389 if ccname=="Iran" & leader=="Mohammad Mossadeg"
replace leadno=1390 if ccname=="Iran" & leader=="Mohammad Reza"
replace leadno=1391 if ccname=="Iran" & leader=="Ayatollah Khomeini"
replace leadno=1392 if ccname=="Iran" & leader=="Khamenei"
replace leadno=1393 if ccname=="Iran" & leader=="Rafsanjani"
replace leadno=1394 if ccname=="Iran" & leader=="Khatami"
replace leadno=1395 if ccname=="Iraq" & leader=="Faisal I"
replace leadno=1396 if ccname=="Iraq" & leader=="Ghazi"
replace leadno=1397 if ccname=="Iraq" & leader=="Abdul-Ilah"
replace leadno=1398 if ccname=="Iraq" & leader=="Faisal II"
replace leadno=1399 if ccname=="Iraq" & leader=="Karrim Kassem"
replace leadno=1400 if ccname=="Iraq" & leader=="Salem Aref"
replace leadno=1401 if ccname=="Iraq" & leader=="Rahmen Aref"
replace leadno=1402 if ccname=="Iraq" & leader=="Hassan Al-Bakr"
replace leadno=1403 if ccname=="Iraq" & leader=="Saddam Hussein"
replace leadno=1404 if ccname=="Iraq" & leader=="Tommy Ray Franks"
replace leadno=1405 if ccname=="Iraq" & leader=="Jay Garner"
replace leadno=1406 if ccname=="Iraq" & leader=="Paul Bremer"
replace leadno=1407 if ccname=="Iraq" & leader=="Iyad Allawi"
replace leadno=1408 if ccname=="Ireland" & leader=="de Valera"
replace leadno=1409 if ccname=="Ireland" & leader=="Griffith"
replace leadno=1410 if ccname=="Ireland" & leader=="Collins"
replace leadno=1411 if ccname=="Ireland" & leader=="Cosgrave, W."
replace leadno=1412 if ccname=="Ireland" & leader=="de Valera"
replace leadno=1413 if ccname=="Ireland" & leader=="Costello"
replace leadno=1414 if ccname=="Ireland" & leader=="de Valera"
replace leadno=1415 if ccname=="Ireland" & leader=="Costello"
replace leadno=1416 if ccname=="Ireland" & leader=="de Valera"
replace leadno=1417 if ccname=="Ireland" & leader=="LeMass"
replace leadno=1418 if ccname=="Ireland" & leader=="Lynch"
replace leadno=1419 if ccname=="Ireland" & leader=="Cosgrave, L."
replace leadno=1420 if ccname=="Ireland" & leader=="Lynch"
replace leadno=1421 if ccname=="Ireland" & leader=="Haughey"
replace leadno=1422 if ccname=="Ireland" & leader=="Fitzgerald"
replace leadno=1423 if ccname=="Ireland" & leader=="Haughey"
replace leadno=1424 if ccname=="Ireland" & leader=="Fitzgerald"
replace leadno=1425 if ccname=="Ireland" & leader=="Haughey"
replace leadno=1426 if ccname=="Ireland" & leader=="Reynolds"
replace leadno=1427 if ccname=="Ireland" & leader=="Bruton"
replace leadno=1428 if ccname=="Ireland" & leader=="Ahern"
replace leadno=1429 if ccname=="Israel" & leader=="Ben Gurion"
replace leadno=1430 if ccname=="Israel" & leader=="Sharett"
replace leadno=1431 if ccname=="Israel" & leader=="Ben Gurion"
replace leadno=1432 if ccname=="Israel" & leader=="Eshkol"
replace leadno=1433 if ccname=="Israel" & leader=="Allon"
replace leadno=1434 if ccname=="Israel" & leader=="Meir"
replace leadno=1435 if ccname=="Israel" & leader=="Rabin"
replace leadno=1436 if ccname=="Israel" & leader=="Peres"
replace leadno=1437 if ccname=="Israel" & leader=="Begin"
replace leadno=1438 if ccname=="Israel" & leader=="Shamir"
replace leadno=1439 if ccname=="Israel" & leader=="Peres"
replace leadno=1440 if ccname=="Israel" & leader=="Shamir"
replace leadno=1441 if ccname=="Israel" & leader=="Rabin"
replace leadno=1442 if ccname=="Israel" & leader=="Peres"
replace leadno=1443 if ccname=="Israel" & leader=="Netanyahu"
replace leadno=1444 if ccname=="Israel" & leader=="Barak"
replace leadno=1445 if ccname=="Israel" & leader=="Ariel Sharon"
replace leadno=1446 if ccname=="Italy" & leader=="Minghetti"
replace leadno=1447 if ccname=="Italy" & leader=="Depretis"
replace leadno=1448 if ccname=="Italy" & leader=="Cairoli"
replace leadno=1449 if ccname=="Italy" & leader=="Depretis"
replace leadno=1450 if ccname=="Italy" & leader=="Cairoli"
replace leadno=1451 if ccname=="Italy" & leader=="Depretis"
replace leadno=1452 if ccname=="Italy" & leader=="Crispi"
replace leadno=1453 if ccname=="Italy" & leader=="Rudini"
replace leadno=1454 if ccname=="Italy" & leader=="Giolitti"
replace leadno=1455 if ccname=="Italy" & leader=="Crispi"
replace leadno=1456 if ccname=="Italy" & leader=="Rudini"
replace leadno=1457 if ccname=="Italy" & leader=="Pelloux"
replace leadno=1458 if ccname=="Italy" & leader=="Saracco"
replace leadno=1459 if ccname=="Italy" & leader=="Zanardelli"
replace leadno=1460 if ccname=="Italy" & leader=="Giolitti"
replace leadno=1461 if ccname=="Italy" & leader=="Fortis"
replace leadno=1462 if ccname=="Italy" & leader=="Sonnino"
replace leadno=1463 if ccname=="Italy" & leader=="Giolitti"
replace leadno=1464 if ccname=="Italy" & leader=="Sonnino"
replace leadno=1465 if ccname=="Italy" & leader=="Luzzati"
replace leadno=1466 if ccname=="Italy" & leader=="Giolitti"
replace leadno=1467 if ccname=="Italy" & leader=="Salandra"
replace leadno=1468 if ccname=="Italy" & leader=="Boselli"
replace leadno=1469 if ccname=="Italy" & leader=="Orlando"
replace leadno=1470 if ccname=="Italy" & leader=="Nitti"
replace leadno=1471 if ccname=="Italy" & leader=="Giolitti"
replace leadno=1472 if ccname=="Italy" & leader=="Bonomi"
replace leadno=1473 if ccname=="Italy" & leader=="Facta"
replace leadno=1474 if ccname=="Italy" & leader=="Mussolini"
replace leadno=1475 if ccname=="Italy" & leader=="Badoglio"
replace leadno=1476 if ccname=="Italy" & leader=="Bonomi"
replace leadno=1477 if ccname=="Italy" & leader=="Parri"
replace leadno=1478 if ccname=="Italy" & leader=="de Gasperi"
replace leadno=1479 if ccname=="Italy" & leader=="Pella"
replace leadno=1480 if ccname=="Italy" & leader=="Fanfani"
replace leadno=1481 if ccname=="Italy" & leader=="Scelba"
replace leadno=1482 if ccname=="Italy" & leader=="Segni"
replace leadno=1483 if ccname=="Italy" & leader=="Zoli"
replace leadno=1484 if ccname=="Italy" & leader=="Fanfani"
replace leadno=1485 if ccname=="Italy" & leader=="Segni"
replace leadno=1486 if ccname=="Italy" & leader=="Tambroni"
replace leadno=1487 if ccname=="Italy" & leader=="Fanfani"
replace leadno=1488 if ccname=="Italy" & leader=="Leone"
replace leadno=1489 if ccname=="Italy" & leader=="Moro"
replace leadno=1490 if ccname=="Italy" & leader=="Leone"
replace leadno=1491 if ccname=="Italy" & leader=="Rumor"
replace leadno=1492 if ccname=="Italy" & leader=="Colombo"
replace leadno=1493 if ccname=="Italy" & leader=="Andreotti"
replace leadno=1494 if ccname=="Italy" & leader=="Rumor"
replace leadno=1495 if ccname=="Italy" & leader=="Moro"
replace leadno=1496 if ccname=="Italy" & leader=="Andreotti"
replace leadno=1497 if ccname=="Italy" & leader=="Cossiga"
replace leadno=1498 if ccname=="Italy" & leader=="Forlani"
replace leadno=1499 if ccname=="Italy" & leader=="Spadolini"
replace leadno=1500 if ccname=="Italy" & leader=="Fanfani"
replace leadno=1501 if ccname=="Italy" & leader=="Craxi"
replace leadno=1502 if ccname=="Italy" & leader=="Fanfani"
replace leadno=1503 if ccname=="Italy" & leader=="Goria"
replace leadno=1504 if ccname=="Italy" & leader=="Mita"
replace leadno=1505 if ccname=="Italy" & leader=="Andreotti"
replace leadno=1506 if ccname=="Italy" & leader=="Amato"
replace leadno=1507 if ccname=="Italy" & leader=="Ciampi"
replace leadno=1508 if ccname=="Italy" & leader=="Berlusconi"
replace leadno=1509 if ccname=="Italy" & leader=="Dini"
replace leadno=1510 if ccname=="Italy" & leader=="Prodi"
replace leadno=1511 if ccname=="Italy" & leader=="D'Alema"
replace leadno=1512 if ccname=="Italy" & leader=="Amato"
replace leadno=1513 if ccname=="Italy" & leader=="Berlusconi"
replace leadno=1514 if ccname=="Jamaica" & leader=="Bustamante"
replace leadno=1515 if ccname=="Jamaica" & leader=="Sangster"
replace leadno=1516 if ccname=="Jamaica" & leader=="Shearer"
replace leadno=1517 if ccname=="Jamaica" & leader=="Manley"
replace leadno=1518 if ccname=="Jamaica" & leader=="Seaga"
replace leadno=1519 if ccname=="Jamaica" & leader=="Manley"
replace leadno=1520 if ccname=="Jamaica" & leader=="Patterson"
replace leadno=1521 if ccname=="Japan" & leader=="Mutsuhito (Emperor)"
replace leadno=1522 if ccname=="Japan" & leader=="Ito"
replace leadno=1523 if ccname=="Japan" & leader=="Kuroda"
replace leadno=1524 if ccname=="Japan" & leader=="Yamagata"
replace leadno=1525 if ccname=="Japan" & leader=="Matsukata"
replace leadno=1526 if ccname=="Japan" & leader=="Ito"
replace leadno=1527 if ccname=="Japan" & leader=="Matsukata"
replace leadno=1528 if ccname=="Japan" & leader=="Kuroda"
replace leadno=1529 if ccname=="Japan" & leader=="Matsukata"
replace leadno=1530 if ccname=="Japan" & leader=="Ito"
replace leadno=1531 if ccname=="Japan" & leader=="Okuma"
replace leadno=1532 if ccname=="Japan" & leader=="Yamagata"
replace leadno=1533 if ccname=="Japan" & leader=="Ito"
replace leadno=1534 if ccname=="Japan" & leader=="Saionji"
replace leadno=1535 if ccname=="Japan" & leader=="Katsura"
replace leadno=1536 if ccname=="Japan" & leader=="Saionji"
replace leadno=1537 if ccname=="Japan" & leader=="Katsura"
replace leadno=1538 if ccname=="Japan" & leader=="Saionji"
replace leadno=1539 if ccname=="Japan" & leader=="Katsura"
replace leadno=1540 if ccname=="Japan" & leader=="Yamamoto, G."
replace leadno=1541 if ccname=="Japan" & leader=="Okuma"
replace leadno=1542 if ccname=="Japan" & leader=="Terauchi"
replace leadno=1543 if ccname=="Japan" & leader=="Hara, T."
replace leadno=1544 if ccname=="Japan" & leader=="Uchida"
replace leadno=1545 if ccname=="Japan" & leader=="Takahashi, K."
replace leadno=1546 if ccname=="Japan" & leader=="Kato, Tomosaburo"
replace leadno=1547 if ccname=="Japan" & leader=="Uchida"
replace leadno=1548 if ccname=="Japan" & leader=="Yamamoto, G."
replace leadno=1549 if ccname=="Japan" & leader=="Kiyoura"
replace leadno=1550 if ccname=="Japan" & leader=="Kato, Takaaki"
replace leadno=1551 if ccname=="Japan" & leader=="Wakatsuki"
replace leadno=1552 if ccname=="Japan" & leader=="Tanaka, G."
replace leadno=1553 if ccname=="Japan" & leader=="Hamaguchi"
replace leadno=1554 if ccname=="Japan" & leader=="Shidehara"
replace leadno=1555 if ccname=="Japan" & leader=="Wakatsuki"
replace leadno=1556 if ccname=="Japan" & leader=="Inukai"
replace leadno=1557 if ccname=="Japan" & leader=="Takahashi, K."
replace leadno=1558 if ccname=="Japan" & leader=="Saito, M."
replace leadno=1559 if ccname=="Japan" & leader=="Okada"
replace leadno=1560 if ccname=="Japan" & leader=="Hirota"
replace leadno=1561 if ccname=="Japan" & leader=="Hayashi"
replace leadno=1562 if ccname=="Japan" & leader=="Konoe, F."
replace leadno=1563 if ccname=="Japan" & leader=="Hiranuma"
replace leadno=1564 if ccname=="Japan" & leader=="Abe, M."
replace leadno=1565 if ccname=="Japan" & leader=="Yonai"
replace leadno=1566 if ccname=="Japan" & leader=="Konoe, F."
replace leadno=1567 if ccname=="Japan" & leader=="Tojo"
replace leadno=1568 if ccname=="Japan" & leader=="Koiso"
replace leadno=1569 if ccname=="Japan" & leader=="Suzuki, Kantaro"
replace leadno=1570 if ccname=="Japan" & leader=="Douglas MacArthur"
replace leadno=1571 if ccname=="Japan" & leader=="Matthew Bunker Ridgway"
replace leadno=1572 if ccname=="Japan" & leader=="Yoshida, Shigeru"
replace leadno=1573 if ccname=="Japan" & leader=="Hatoyama"
replace leadno=1574 if ccname=="Japan" & leader=="Ishibashi"
replace leadno=1575 if ccname=="Japan" & leader=="Kishi"
replace leadno=1576 if ccname=="Japan" & leader=="Ikeda"
replace leadno=1577 if ccname=="Japan" & leader=="Sato"
replace leadno=1578 if ccname=="Japan" & leader=="Tanaka"
replace leadno=1579 if ccname=="Japan" & leader=="Miki"
replace leadno=1580 if ccname=="Japan" & leader=="Fukuda"
replace leadno=1581 if ccname=="Japan" & leader=="Ohira"
replace leadno=1582 if ccname=="Japan" & leader=="Ito"
replace leadno=1583 if ccname=="Japan" & leader=="Suzuki"
replace leadno=1584 if ccname=="Japan" & leader=="Nakasone"
replace leadno=1585 if ccname=="Japan" & leader=="Takeshita"
replace leadno=1586 if ccname=="Japan" & leader=="Uno"
replace leadno=1587 if ccname=="Japan" & leader=="Kaifu"
replace leadno=1588 if ccname=="Japan" & leader=="Miyazawa"
replace leadno=1589 if ccname=="Japan" & leader=="Hosokawa"
replace leadno=1590 if ccname=="Japan" & leader=="Hata"
replace leadno=1591 if ccname=="Japan" & leader=="Murayama"
replace leadno=1592 if ccname=="Japan" & leader=="Hashimoto"
replace leadno=1593 if ccname=="Japan" & leader=="Obuchi"
replace leadno=1594 if ccname=="Japan" & leader=="Mikio Aoki"
replace leadno=1595 if ccname=="Japan" & leader=="Yoshiro Mori"
replace leadno=1596 if ccname=="Japan" & leader=="Junichiro Koizumi"
replace leadno=1597 if ccname=="Jordan" & leader=="Abdullah Al-Hussein"
replace leadno=1598 if ccname=="Jordan" & leader=="Abdullah El-Hashim"
replace leadno=1599 if ccname=="Jordan" & leader=="Ibn Abdullah-Hashim"
replace leadno=1600 if ccname=="Jordan" & leader=="Hussein Ibn Talal El-Hashim"
replace leadno=1601 if ccname=="Jordan" & leader=="Abdullah Ibn Hussein El-Hashimi"
replace leadno=1602 if ccname=="Kazakhstan" & leader=="Nazarbaev"
replace leadno=1603 if ccname=="Kenya" & leader=="Kenyatta"
replace leadno=1604 if ccname=="Kenya" & leader=="Moi"
replace leadno=1605 if ccname=="Kenya" & leader=="Mwai Kibaki"
replace leadno=1606 if ccname=="Kuwait" & leader=="Abdullah As-Sabah"
replace leadno=1607 if ccname=="Kuwait" & leader=="Sabah As-Sabah"
replace leadno=1608 if ccname=="Kuwait" & leader=="Jabir As-Sabah"
replace leadno=1609 if ccname=="Kuwait" & leader=="Jabir As-Sabah"
replace leadno=1610 if ccname=="Kyrgyz Republic" & leader=="Akayev"
replace leadno=1611 if ccname=="Laos" & leader=="Souvanna Phouma"
replace leadno=1612 if ccname=="Laos" & leader=="Katay Don Sasorith"
replace leadno=1613 if ccname=="Laos" & leader=="Souvanna Phouma"
replace leadno=1614 if ccname=="Laos" & leader=="Sananikone"
replace leadno=1615 if ccname=="Laos" & leader=="Nosavan"
replace leadno=1616 if ccname=="Laos" & leader=="Kou Abhay Og Long"
replace leadno=1617 if ccname=="Laos" & leader=="Somsanith"
replace leadno=1618 if ccname=="Laos" & leader=="Kong Le"
replace leadno=1619 if ccname=="Laos" & leader=="Souvanna Phouma"
replace leadno=1620 if ccname=="Laos" & leader=="Boun Oum"
replace leadno=1621 if ccname=="Laos" & leader=="Souvanna Phouma"
replace leadno=1622 if ccname=="Laos" & leader=="Kouprasith"
replace leadno=1623 if ccname=="Laos" & leader=="Souvanna Phouma"
replace leadno=1624 if ccname=="Laos" & leader=="Phomivan"
replace leadno=1625 if ccname=="Laos" & leader=="Phounsavanh"
replace leadno=1626 if ccname=="Laos" & leader=="Siphandon"
replace leadno=1627 if ccname=="Latvia" & leader=="Ulmanis"
replace leadno=1628 if ccname=="Latvia" & leader=="Oskars Borkovskis"
replace leadno=1629 if ccname=="Latvia" & leader=="Andrievs Niedra"
replace leadno=1630 if ccname=="Latvia" & leader=="Ulmanis"
replace leadno=1631 if ccname=="Latvia" & leader=="Meierovics"
replace leadno=1632 if ccname=="Latvia" & leader=="Pauluks"
replace leadno=1633 if ccname=="Latvia" & leader=="Meierovics"
replace leadno=1634 if ccname=="Latvia" & leader=="Zamuelis"
replace leadno=1635 if ccname=="Latvia" & leader=="Celmins"
replace leadno=1636 if ccname=="Latvia" & leader=="Ulmanis"
replace leadno=1637 if ccname=="Latvia" & leader=="Alberings"
replace leadno=1638 if ccname=="Latvia" & leader=="Skujenieks"
replace leadno=1639 if ccname=="Latvia" & leader=="Juresevskis"
replace leadno=1640 if ccname=="Latvia" & leader=="Celmins"
replace leadno=1641 if ccname=="Latvia" & leader=="Ulmanis"
replace leadno=1642 if ccname=="Latvia" & leader=="Skujenieks"
replace leadno=1643 if ccname=="Latvia" & leader=="Blodnieks"

save "C:\Democracy\revision dec 2011\leader.dta", replace


use "C:\Democracy\revision dec 2011\leader.dta", clear
replace leadno=1644 if ccname=="Latvia" & leader=="Ulmanis"
replace leadno=1645 if ccname=="Latvia" & leader=="Godmanis"
replace leadno=1646 if ccname=="Latvia" & leader=="Birkavs"
replace leadno=1647 if ccname=="Latvia" & leader=="Gailis"
replace leadno=1648 if ccname=="Latvia" & leader=="Skele"
replace leadno=1649 if ccname=="Latvia" & leader=="Krasts"
replace leadno=1650 if ccname=="Latvia" & leader=="Kristopans"
replace leadno=1651 if ccname=="Latvia" & leader=="Skele"
replace leadno=1652 if ccname=="Latvia" & leader=="Berzins"
replace leadno=1653 if ccname=="Latvia" & leader=="Repse"
replace leadno=1654 if ccname=="Latvia" & leader=="Indulis Emsis"
replace leadno=1655 if ccname=="Latvia" & leader=="Aigars Kalvitis"
replace leadno=1656 if ccname=="Lebanon" & leader=="EL Khoury"
replace leadno=1657 if ccname=="Lebanon" & leader=="Chebab"
replace leadno=1658 if ccname=="Lebanon" & leader=="Chamoun"
replace leadno=1659 if ccname=="Lebanon" & leader=="Chehab"
replace leadno=1660 if ccname=="Lebanon" & leader=="Helou"
replace leadno=1661 if ccname=="Lebanon" & leader=="Franjieh"
replace leadno=1662 if ccname=="Lebanon" & leader=="Sarkis"
replace leadno=1663 if ccname=="Lebanon" & leader=="Gemayel, Amin"
replace leadno=1664 if ccname=="Lebanon" & leader=="Aoun"
replace leadno=1665 if ccname=="Lebanon" & leader=="Moawad"
replace leadno=1666 if ccname=="Lebanon" & leader=="Elias Hrawi"
replace leadno=1667 if ccname=="Lebanon" & leader=="Emile Lahoud"
replace leadno=1668 if ccname=="Lesotho" & leader=="Jonathan"
replace leadno=1669 if ccname=="Lesotho" & leader=="Lekhanya"
replace leadno=1670 if ccname=="Lesotho" & leader=="Ramaema"
replace leadno=1671 if ccname=="Lesotho" & leader=="Mokhehle"
replace leadno=1672 if ccname=="Lesotho" & leader=="Letsie III"
replace leadno=1673 if ccname=="Lesotho" & leader=="Mokhehle"
replace leadno=1674 if ccname=="Lesotho" & leader=="Mosisili"
replace leadno=1675 if ccname=="Liberia" & leader=="Joseph Jenkins Roberts"
replace leadno=1676 if ccname=="Liberia" & leader=="Anthony William Gardiner"
replace leadno=1677 if ccname=="Liberia" & leader=="James Spriggs Payne"
replace leadno=1678 if ccname=="Liberia" & leader=="Anthony William Gardiner"
replace leadno=1679 if ccname=="Liberia" & leader=="Alfred Francis Russell"
replace leadno=1680 if ccname=="Liberia" & leader=="Hilary Richard Wright Johnson"
replace leadno=1681 if ccname=="Liberia" & leader=="Joseph James Cheeseman"
replace leadno=1682 if ccname=="Liberia" & leader=="William David Coleman"
replace leadno=1683 if ccname=="Liberia" & leader=="Garretson Wilmot Gibson"
replace leadno=1684 if ccname=="Liberia" & leader=="Arthur Barclay"
replace leadno=1685 if ccname=="Liberia" & leader=="Daniel E. Howard"
replace leadno=1686 if ccname=="Liberia" & leader=="Burgess King"
replace leadno=1687 if ccname=="Liberia" & leader=="Edwin Barclay"
replace leadno=1688 if ccname=="Liberia" & leader=="Tubman"
replace leadno=1689 if ccname=="Liberia" & leader=="Tolbert"
replace leadno=1690 if ccname=="Liberia" & leader=="Doe"
replace leadno=1691 if ccname=="Liberia" & leader=="Sawyer"
replace leadno=1692 if ccname=="Liberia" & leader=="Kpormapkor"
replace leadno=1693 if ccname=="Liberia" & leader=="Sankawulo"
replace leadno=1694 if ccname=="Liberia" & leader=="Perry"
replace leadno=1695 if ccname=="Liberia" & leader=="Taylor"
replace leadno=1696 if ccname=="Liberia" & leader=="Moses Zeh Blah"
replace leadno=1697 if ccname=="Liberia" & leader=="Bryant"
replace leadno=1698 if ccname=="Libya" & leader=="Idris"
replace leadno=1699 if ccname=="Libya" & leader=="Qaddafi"
replace leadno=1700 if ccname=="Lithuania" & leader=="Smetona"
replace leadno=1701 if ccname=="Lithuania" & leader=="Mindaugas II"
replace leadno=1702 if ccname=="Lithuania" & leader=="Smetona"
replace leadno=1703 if ccname=="Lithuania" & leader=="Stulginskis"
replace leadno=1704 if ccname=="Lithuania" & leader=="Grinius"
replace leadno=1705 if ccname=="Lithuania" & leader=="Smetona"
replace leadno=1706 if ccname=="Lithuania" & leader=="Landsbergis"
replace leadno=1707 if ccname=="Lithuania" & leader=="Brazauskas"
replace leadno=1708 if ccname=="Lithuania" & leader=="Adamkus"
replace leadno=1709 if ccname=="Lithuania" & leader=="Paksas"
replace leadno=1710 if ccname=="Lithuania" & leader=="Paulauskas"
replace leadno=1711 if ccname=="Lithuania" & leader=="Adamkus"
replace leadno=1712 if ccname=="Macedonia" & leader=="Nikola Kljusev"
replace leadno=1713 if ccname=="Macedonia" & leader=="Crvenkovski"
replace leadno=1714 if ccname=="Macedonia" & leader=="Georgievski"
replace leadno=1715 if ccname=="Macedonia" & leader=="Crvenkovski"
replace leadno=1716 if ccname=="Macedonia" & leader=="Radmila Sekerinska"
replace leadno=1717 if ccname=="Macedonia" & leader=="Hari Kostov"
replace leadno=1718 if ccname=="Macedonia" & leader=="Radmila Sekerinska"
replace leadno=1719 if ccname=="Macedonia" & leader=="Vlado Buckovski"
replace leadno=1720 if ccname=="Madagascar" & leader=="Rainilaiarivony"
replace leadno=1721 if ccname=="Madagascar" & leader=="Tsiranana"
replace leadno=1722 if ccname=="Madagascar" & leader=="Ramanantsoa"
replace leadno=1723 if ccname=="Madagascar" & leader=="Ratsimandrava"
replace leadno=1724 if ccname=="Madagascar" & leader=="Gilles Andriamahazo"
replace leadno=1725 if ccname=="Madagascar" & leader=="Ratsiraka"
replace leadno=1726 if ccname=="Madagascar" & leader=="Zafy"
replace leadno=1727 if ccname=="Madagascar" & leader=="Ratsirahonana"
replace leadno=1728 if ccname=="Madagascar" & leader=="Ratsiraka"
replace leadno=1729 if ccname=="Madagascar" & leader=="Marc Ravalomanana"
replace leadno=1730 if ccname=="Malawi" & leader=="Banda"
replace leadno=1731 if ccname=="Malawi" & leader=="Muluzi"
replace leadno=1732 if ccname=="Malawi" & leader=="Bingu wa Mutharika"
replace leadno=1733 if ccname=="Malaysia" & leader=="Rahman"
replace leadno=1734 if ccname=="Malaysia" & leader=="Razak"
replace leadno=1735 if ccname=="Malaysia" & leader=="Rahman"
replace leadno=1736 if ccname=="Malaysia" & leader=="Razak"
replace leadno=1737 if ccname=="Malaysia" & leader=="Hussein Bin Onn"
replace leadno=1738 if ccname=="Malaysia" & leader=="Mahatir Bin Mohammad"
replace leadno=1739 if ccname=="Malaysia" & leader=="Ahmad Badawi"
replace leadno=1740 if ccname=="Mali" & leader=="Keita"
replace leadno=1741 if ccname=="Mali" & leader=="Traore"
replace leadno=1742 if ccname=="Mali" & leader=="Amadou Toure"
replace leadno=1743 if ccname=="Mali" & leader=="Konare"
replace leadno=1744 if ccname=="Mali" & leader=="Amadou Toure"
replace leadno=1745 if ccname=="Mauritania" & leader=="Ould Daddah"
replace leadno=1746 if ccname=="Mauritania" & leader=="Ould Mohamed Salek"
replace leadno=1747 if ccname=="Mauritania" & leader=="Ould Bouceif"
replace leadno=1748 if ccname=="Mauritania" & leader=="Ould Sidi"
replace leadno=1749 if ccname=="Mauritania" & leader=="Ould Ahmed Louly"
replace leadno=1750 if ccname=="Mauritania" & leader=="Ould Haidalla"
replace leadno=1751 if ccname=="Mauritania" & leader=="Sidi Ahmed Taya"
replace leadno=1752 if ccname=="Mauritius" & leader=="Ramgoolam"
replace leadno=1753 if ccname=="Mauritius" & leader=="Anerood Jugnauth"
replace leadno=1754 if ccname=="Mauritius" & leader=="Ramgoolam N."
replace leadno=1755 if ccname=="Mauritius" & leader=="Anerood Jugnauth"
replace leadno=1756 if ccname=="Mauritius" & leader=="Paul Berenger"
replace leadno=1757 if ccname=="Mexico" & leader=="de Tejada"
replace leadno=1758 if ccname=="Mexico" & leader=="Diaz"
replace leadno=1759 if ccname=="Mexico" & leader=="de la Barra"
replace leadno=1760 if ccname=="Mexico" & leader=="Madero"
replace leadno=1761 if ccname=="Mexico" & leader=="Huerta"
replace leadno=1762 if ccname=="Mexico" & leader=="Carranza"
replace leadno=1763 if ccname=="Mexico" & leader=="de la Huerta, A"
replace leadno=1764 if ccname=="Mexico" & leader=="Obregon"
replace leadno=1765 if ccname=="Mexico" & leader=="Calles"
replace leadno=1766 if ccname=="Mexico" & leader=="Portes Gil"
replace leadno=1767 if ccname=="Mexico" & leader=="Ortiz Rubio"
replace leadno=1768 if ccname=="Mexico" & leader=="Rodriguez"
replace leadno=1769 if ccname=="Mexico" & leader=="Cardenas"
replace leadno=1770 if ccname=="Mexico" & leader=="Avila Camacho"
replace leadno=1771 if ccname=="Mexico" & leader=="Aleman Valdes"
replace leadno=1772 if ccname=="Mexico" & leader=="Ruiz Cortines"
replace leadno=1773 if ccname=="Mexico" & leader=="Lopez Mateos"
replace leadno=1774 if ccname=="Mexico" & leader=="Diaz Ordaz"
replace leadno=1775 if ccname=="Mexico" & leader=="Echeverria Alvarez"
replace leadno=1776 if ccname=="Mexico" & leader=="Lopez Portillo"
replace leadno=1777 if ccname=="Mexico" & leader=="de La Madrid"
replace leadno=1778 if ccname=="Mexico" & leader=="Salinas"
replace leadno=1779 if ccname=="Mexico" & leader=="Zedillo"
replace leadno=1780 if ccname=="Mexico" & leader=="Vicente Fox Quesada"
replace leadno=1781 if ccname=="Moldova" & leader=="Snegur"
replace leadno=1782 if ccname=="Moldova" & leader=="Lucinschi"
replace leadno=1783 if ccname=="Moldova" & leader=="Tarlev"
replace leadno=1784 if ccname=="Mongolia" & leader=="Chagdarjav"
replace leadno=1785 if ccname=="Mongolia" & leader=="Dogsomyn Bodo"
replace leadno=1786 if ccname=="Mongolia" & leader=="Sukhebaatur"
replace leadno=1787 if ccname=="Mongolia" & leader=="Danzin"
replace leadno=1788 if ccname=="Mongolia" & leader=="Elbek-Dorzhi Rinchino"
replace leadno=1789 if ccname=="Mongolia" & leader=="Dambadorji"
replace leadno=1790 if ccname=="Mongolia" & leader=="Gendun"
replace leadno=1791 if ccname=="Mongolia" & leader=="Choibalsan"
replace leadno=1792 if ccname=="Mongolia" & leader=="Tsedenbal"
replace leadno=1793 if ccname=="Mongolia" & leader=="Batmonh"
replace leadno=1794 if ccname=="Mongolia" & leader=="Ochirbat"
replace leadno=1795 if ccname=="Mongolia" & leader=="Bagabandi"
replace leadno=1796 if ccname=="Morocco" & leader=="Abu Ali al-Hasan"
replace leadno=1797 if ccname=="Morocco" & leader=="Abd al-Aziz"
replace leadno=1798 if ccname=="Morocco" & leader=="Mohammed V"
replace leadno=1799 if ccname=="Morocco" & leader=="Hassan II"
replace leadno=1800 if ccname=="Morocco" & leader=="Muhammad VI"
replace leadno=1801 if ccname=="Mozambique" & leader=="Machel"
replace leadno=1802 if ccname=="Mozambique" & leader=="Chissano"
replace leadno=1803 if ccname=="Myanmar" & leader=="Mindon Min"
replace leadno=1804 if ccname=="Myanmar" & leader=="Thibaw Min"
replace leadno=1805 if ccname=="Myanmar" & leader=="Taingda Mingyi"
replace leadno=1806 if ccname=="Myanmar" & leader=="U Nu"
replace leadno=1807 if ccname=="Myanmar" & leader=="U Ba Swe"
replace leadno=1808 if ccname=="Myanmar" & leader=="U Nu"
replace leadno=1809 if ccname=="Myanmar" & leader=="Ne Win"
replace leadno=1810 if ccname=="Myanmar" & leader=="U Nu"
replace leadno=1811 if ccname=="Myanmar" & leader=="Ne Win"
replace leadno=1812 if ccname=="Myanmar" & leader=="Sein Lwin"
replace leadno=1813 if ccname=="Myanmar" & leader=="Maung Maung"
replace leadno=1814 if ccname=="Myanmar" & leader=="Saw Maung"
replace leadno=1815 if ccname=="Myanmar" & leader=="Than Shwe"
replace leadno=1816 if ccname=="Namibia" & leader=="Nujoma"
replace leadno=1817 if ccname=="Nepal" & leader=="Jang Bahadur Kunwar"
replace leadno=1818 if ccname=="Nepal" & leader=="Rana Udip Singh"
replace leadno=1819 if ccname=="Nepal" & leader=="Bira Shamsher Jang Bahadur Rana"
replace leadno=1820 if ccname=="Nepal" & leader=="Dev Shumshere Jung Bahadur Rana"
replace leadno=1821 if ccname=="Nepal" & leader=="Chandra Rana"
replace leadno=1822 if ccname=="Nepal" & leader=="Bhim Rana"
replace leadno=1823 if ccname=="Nepal" & leader=="Juddha Rana"
replace leadno=1824 if ccname=="Nepal" & leader=="Padma Rana"
replace leadno=1825 if ccname=="Nepal" & leader=="Mohan Rana"
replace leadno=1826 if ccname=="Nepal" & leader=="Tribhuvan"
replace leadno=1827 if ccname=="Nepal" & leader=="Mahendra"
replace leadno=1828 if ccname=="Nepal" & leader=="Birendra"
replace leadno=1829 if ccname=="Nepal" & leader=="Krishna Prasad Bhatterai"
replace leadno=1830 if ccname=="Nepal" & leader=="Girija Prasad Koirala"
replace leadno=1831 if ccname=="Nepal" & leader=="Man Mohan Adhilari"
replace leadno=1832 if ccname=="Nepal" & leader=="Sher Bahadur Deuba"
replace leadno=1833 if ccname=="Nepal" & leader=="Lokendra Bahadur Chand"
replace leadno=1834 if ccname=="Nepal" & leader=="Surya  Bahadur Thapa"
replace leadno=1835 if ccname=="Nepal" & leader=="Girija Prasad Koirala"
replace leadno=1836 if ccname=="Nepal" & leader=="Krishna Prasad Bhatterai"
replace leadno=1837 if ccname=="Nepal" & leader=="Girija Prasad Koirala"
replace leadno=1838 if ccname=="Nepal" & leader=="Sher Bahdur Deuba"
replace leadno=1839 if ccname=="Nepal" & leader=="Lokendra Bahadur Chand"
replace leadno=1840 if ccname=="Nepal" & leader=="Surya Bahadur Thapa"
replace leadno=1841 if ccname=="Nepal" & leader=="Sher Bahdur Deuba"
replace leadno=1842 if ccname=="Netherlands" & leader=="Heemskerk, JA"
replace leadno=1843 if ccname=="Netherlands" & leader=="Kappeye van de Coppello"
replace leadno=1844 if ccname=="Netherlands" & leader=="van Lynden"
replace leadno=1845 if ccname=="Netherlands" & leader=="Heemskerk, JA"
replace leadno=1846 if ccname=="Netherlands" & leader=="Mackay"
replace leadno=1847 if ccname=="Netherlands" & leader=="van Tienhoven"
replace leadno=1848 if ccname=="Netherlands" & leader=="Roell"
replace leadno=1849 if ccname=="Netherlands" & leader=="Pierson"
replace leadno=1850 if ccname=="Netherlands" & leader=="Kuyper"
replace leadno=1851 if ccname=="Netherlands" & leader=="de Meester"
replace leadno=1852 if ccname=="Netherlands" & leader=="Heemskerk, T"
replace leadno=1853 if ccname=="Netherlands" & leader=="van der Linden"
replace leadno=1854 if ccname=="Netherlands" & leader=="de Beerenbrouck"
replace leadno=1855 if ccname=="Netherlands" & leader=="Colijn"
replace leadno=1856 if ccname=="Netherlands" & leader=="de Geer"
replace leadno=1857 if ccname=="Netherlands" & leader=="de Beerenbrouck"
replace leadno=1858 if ccname=="Netherlands" & leader=="Colijn"
replace leadno=1859 if ccname=="Netherlands" & leader=="de Geer"
replace leadno=1860 if ccname=="Netherlands" & leader=="Schermerhorn"
replace leadno=1861 if ccname=="Netherlands" & leader=="Beel"
replace leadno=1862 if ccname=="Netherlands" & leader=="Drees"
replace leadno=1863 if ccname=="Netherlands" & leader=="Beel"
replace leadno=1864 if ccname=="Netherlands" & leader=="de Quay"
replace leadno=1865 if ccname=="Netherlands" & leader=="Marijnen"
replace leadno=1866 if ccname=="Netherlands" & leader=="Cals"
replace leadno=1867 if ccname=="Netherlands" & leader=="Zijlstra"
replace leadno=1868 if ccname=="Netherlands" & leader=="De Jong"
replace leadno=1869 if ccname=="Netherlands" & leader=="Biesheuvel"
replace leadno=1870 if ccname=="Netherlands" & leader=="den Uyl"
replace leadno=1871 if ccname=="Netherlands" & leader=="van Agt"
replace leadno=1872 if ccname=="Netherlands" & leader=="Lubbers"
replace leadno=1873 if ccname=="Netherlands" & leader=="Kok"
replace leadno=1874 if ccname=="Netherlands" & leader=="Jan Peter Balkenende"
replace leadno=1875 if ccname=="New Zealand" & leader=="Ward"
replace leadno=1876 if ccname=="New Zealand" & leader=="Thomas Mackenzie"
replace leadno=1877 if ccname=="New Zealand" & leader=="Massey"
replace leadno=1878 if ccname=="New Zealand" & leader=="Bell"
replace leadno=1879 if ccname=="New Zealand" & leader=="Coates"
replace leadno=1880 if ccname=="New Zealand" & leader=="Ward"
replace leadno=1881 if ccname=="New Zealand" & leader=="Forbes"
replace leadno=1882 if ccname=="New Zealand" & leader=="Savage"
replace leadno=1883 if ccname=="New Zealand" & leader=="Fraser"
replace leadno=1884 if ccname=="New Zealand" & leader=="Holland"
replace leadno=1885 if ccname=="New Zealand" & leader=="Holyoake"
replace leadno=1886 if ccname=="New Zealand" & leader=="Nash"
replace leadno=1887 if ccname=="New Zealand" & leader=="Holyoake"
replace leadno=1888 if ccname=="New Zealand" & leader=="Marshall"
replace leadno=1889 if ccname=="New Zealand" & leader=="Kirk"
replace leadno=1890 if ccname=="New Zealand" & leader=="Rowling"
replace leadno=1891 if ccname=="New Zealand" & leader=="Muldoon"
replace leadno=1892 if ccname=="New Zealand" & leader=="Lange"
replace leadno=1893 if ccname=="New Zealand" & leader=="Palmer"
replace leadno=1894 if ccname=="New Zealand" & leader=="Moore"
replace leadno=1895 if ccname=="New Zealand" & leader=="Bolger"
replace leadno=1896 if ccname=="New Zealand" & leader=="Shipley"
replace leadno=1897 if ccname=="New Zealand" & leader=="Clark"
replace leadno=1898 if ccname=="Nicaragua" & leader=="Quadra"
replace leadno=1899 if ccname=="Nicaragua" & leader=="Chamorro"
replace leadno=1900 if ccname=="Nicaragua" & leader=="Zavala"
replace leadno=1901 if ccname=="Nicaragua" & leader=="Cardenas"
replace leadno=1902 if ccname=="Nicaragua" & leader=="Carazo"
replace leadno=1903 if ccname=="Nicaragua" & leader=="Sacasa"
replace leadno=1904 if ccname=="Nicaragua" & leader=="Zelaya"
replace leadno=1905 if ccname=="Nicaragua" & leader=="Madriz"
replace leadno=1906 if ccname=="Nicaragua" & leader=="J. D. Estrada"
replace leadno=1907 if ccname=="Nicaragua" & leader=="J. J. Estrada"
replace leadno=1908 if ccname=="Nicaragua" & leader=="Adolfo Diaz"
replace leadno=1909 if ccname=="Nicaragua" & leader=="Chamorro Vargas"
replace leadno=1910 if ccname=="Nicaragua" & leader=="Diego Chamorro"
replace leadno=1911 if ccname=="Nicaragua" & leader=="Martinez Bartol"
replace leadno=1912 if ccname=="Nicaragua" & leader=="Solorzano"
replace leadno=1913 if ccname=="Nicaragua" & leader=="Chamorro Vargas"
replace leadno=1914 if ccname=="Nicaragua" & leader=="Adolfo Diaz"
replace leadno=1915 if ccname=="Nicaragua" & leader=="Moncada"
replace leadno=1916 if ccname=="Nicaragua" & leader=="Sacasa, Juan"
replace leadno=1917 if ccname=="Nicaragua" & leader=="Jarquin"
replace leadno=1918 if ccname=="Nicaragua" & leader=="Anastasio Somoza Garcia"
replace leadno=1919 if ccname=="Nicaragua" & leader=="Arguello"
replace leadno=1920 if ccname=="Nicaragua" & leader=="Anastasio Somoza Garcia"
replace leadno=1921 if ccname=="Nicaragua" & leader=="Luis Somoza Debayle"
replace leadno=1922 if ccname=="Nicaragua" & leader=="Shick Gutierrez"
replace leadno=1923 if ccname=="Nicaragua" & leader=="Guerrero Gutierrez"
replace leadno=1924 if ccname=="Nicaragua" & leader=="Anastasio Somoza Debayle"
replace leadno=1925 if ccname=="Nicaragua" & leader=="Daniel Ortega"
replace leadno=1926 if ccname=="Nicaragua" & leader=="Violeta Chamorro"
replace leadno=1927 if ccname=="Nicaragua" & leader=="Aleman"
replace leadno=1928 if ccname=="Nicaragua" & leader=="Enrique Bolanos"
replace leadno=1929 if ccname=="Niger" & leader=="Diori"
replace leadno=1930 if ccname=="Niger" & leader=="Kountche"
replace leadno=1931 if ccname=="Niger" & leader=="Seibou"
replace leadno=1932 if ccname=="Niger" & leader=="Ousmane"
replace leadno=1933 if ccname=="Niger" & leader=="Mainassara"
replace leadno=1934 if ccname=="Niger" & leader=="Wanke"
replace leadno=1935 if ccname=="Niger" & leader=="Mamadou"
replace leadno=1936 if ccname=="Nigeria" & leader=="Balewa"
replace leadno=1937 if ccname=="Nigeria" & leader=="Ironsi"
replace leadno=1938 if ccname=="Nigeria" & leader=="Gowon"
replace leadno=1939 if ccname=="Nigeria" & leader=="Ramat Mohammed"
replace leadno=1940 if ccname=="Nigeria" & leader=="Obasanjo"
replace leadno=1941 if ccname=="Nigeria" & leader=="Shagari"
replace leadno=1942 if ccname=="Nigeria" & leader=="Buhari"
replace leadno=1943 if ccname=="Nigeria" & leader=="Babangida"
replace leadno=1944 if ccname=="Nigeria" & leader=="Shonekan"
replace leadno=1945 if ccname=="Nigeria" & leader=="Abacha"
replace leadno=1946 if ccname=="Nigeria" & leader=="Abubakar"
replace leadno=1947 if ccname=="Nigeria" & leader=="Obasanjo"
replace leadno=1948 if ccname=="North Korea" & leader=="Kim Il-Sung"
replace leadno=1949 if ccname=="North Korea" & leader=="Kim Jong-Il"
replace leadno=1950 if ccname=="Norway" & leader=="Michelsen"
replace leadno=1951 if ccname=="Norway" & leader=="Lovland"
replace leadno=1952 if ccname=="Norway" & leader=="Knudsen"
replace leadno=1953 if ccname=="Norway" & leader=="Konow"
replace leadno=1954 if ccname=="Norway" & leader=="Bratlie"
replace leadno=1955 if ccname=="Norway" & leader=="Knudsen"
replace leadno=1956 if ccname=="Norway" & leader=="Halvorsen"
replace leadno=1957 if ccname=="Norway" & leader=="Blehr"
replace leadno=1958 if ccname=="Norway" & leader=="Halvorsen"
replace leadno=1959 if ccname=="Norway" & leader=="Berge"
replace leadno=1960 if ccname=="Norway" & leader=="Mowinckel"
replace leadno=1961 if ccname=="Norway" & leader=="Lykke"
replace leadno=1962 if ccname=="Norway" & leader=="Hornsrud"
replace leadno=1963 if ccname=="Norway" & leader=="Mowinckel"
replace leadno=1964 if ccname=="Norway" & leader=="Kolstad"
replace leadno=1965 if ccname=="Norway" & leader=="Braadland"
replace leadno=1966 if ccname=="Norway" & leader=="Hundseid"
replace leadno=1967 if ccname=="Norway" & leader=="Mowinckel"
replace leadno=1968 if ccname=="Norway" & leader=="Nygaardsvold"
replace leadno=1969 if ccname=="Norway" & leader=="Quisling"
replace leadno=1970 if ccname=="Norway" & leader=="Nygaardsvold"
replace leadno=1971 if ccname=="Norway" & leader=="Gerhardsen"
replace leadno=1972 if ccname=="Norway" & leader=="Torp"
replace leadno=1973 if ccname=="Norway" & leader=="Gerhardsen"
replace leadno=1974 if ccname=="Norway" & leader=="Lyng"
replace leadno=1975 if ccname=="Norway" & leader=="Gerhardsen"
replace leadno=1976 if ccname=="Norway" & leader=="Borten"
replace leadno=1977 if ccname=="Norway" & leader=="Bratteli"
replace leadno=1978 if ccname=="Norway" & leader=="Korvald"
replace leadno=1979 if ccname=="Norway" & leader=="Bratteli"
replace leadno=1980 if ccname=="Norway" & leader=="Nordli"
replace leadno=1981 if ccname=="Norway" & leader=="Brundtland"
replace leadno=1982 if ccname=="Norway" & leader=="Willoch"
replace leadno=1983 if ccname=="Norway" & leader=="Brundtland"
replace leadno=1984 if ccname=="Norway" & leader=="Syse"
replace leadno=1985 if ccname=="Norway" & leader=="Brundtland"
replace leadno=1986 if ccname=="Norway" & leader=="Jagland"
replace leadno=1987 if ccname=="Norway" & leader=="Bondevik"
replace leadno=1988 if ccname=="Norway" & leader=="Lahnstein"
replace leadno=1989 if ccname=="Norway" & leader=="Bondevik"
replace leadno=1990 if ccname=="Norway" & leader=="Stoltenberg"
replace leadno=1991 if ccname=="Norway" & leader=="Bondevik"
replace leadno=1992 if ccname=="Oman" & leader=="Turki ibn Sa`id"
replace leadno=1993 if ccname=="Oman" & leader=="Faysal ibn Turki"
replace leadno=1994 if ccname=="Oman" & leader=="Taimur ibn Faysal"
replace leadno=1995 if ccname=="Oman" & leader=="Sa`id ibn Taimur"
replace leadno=1996 if ccname=="Oman" & leader=="Qabus Bin Said"
replace leadno=1997 if ccname=="Orange Free State" & leader=="Johannes Henricus Brand"
replace leadno=1998 if ccname=="Orange Free State" & leader=="Blignaut"
replace leadno=1999 if ccname=="Orange Free State" & leader=="Reitz"
replace leadno=2000 if ccname=="Orange Free State" & leader=="Blignaut"
replace leadno=2001 if ccname=="Orange Free State" & leader=="Steyn"
replace leadno=2002 if ccname=="Orange Free State" & leader=="Milner"
replace leadno=2003 if ccname=="Orange Free State" & leader=="Palmer"
replace leadno=2004 if ccname=="Orange Free State" & leader=="Hamilton John Goold-Adams"
replace leadno=2005 if ccname=="Orange Free State" & leader=="Fischer"
replace leadno=2006 if ccname=="Pakistan" & leader=="Jinnah"
replace leadno=2007 if ccname=="Pakistan" & leader=="L. Khan"
replace leadno=2008 if ccname=="Pakistan" & leader=="Nazimuddin"
replace leadno=2009 if ccname=="Pakistan" & leader=="Mohammed Ali"
replace leadno=2010 if ccname=="Pakistan" & leader=="Chaudhri M. Ali"
replace leadno=2011 if ccname=="Pakistan" & leader=="Shahid Suhrawardy"
replace leadno=2012 if ccname=="Pakistan" & leader=="Chundrigar"
replace leadno=2013 if ccname=="Pakistan" & leader=="Khan Noon"
replace leadno=2014 if ccname=="Pakistan" & leader=="Ayub Khan"
replace leadno=2015 if ccname=="Pakistan" & leader=="Yahya Khan"
replace leadno=2016 if ccname=="Pakistan" & leader=="Bhutto"
replace leadno=2017 if ccname=="Pakistan" & leader=="Zia"
replace leadno=2018 if ccname=="Pakistan" & leader=="Ishaq Khan"
replace leadno=2019 if ccname=="Pakistan" & leader=="Bhutto Benazir"
replace leadno=2020 if ccname=="Pakistan" & leader=="Jatoi"
replace leadno=2021 if ccname=="Pakistan" & leader=="Sharif"
replace leadno=2022 if ccname=="Pakistan" & leader=="Mazari"
replace leadno=2023 if ccname=="Pakistan" & leader=="Sharif"
replace leadno=2024 if ccname=="Pakistan" & leader=="Qureshi"
replace leadno=2025 if ccname=="Pakistan" & leader=="Bhutto Benazir"
replace leadno=2026 if ccname=="Pakistan" & leader=="Khalid"
replace leadno=2027 if ccname=="Pakistan" & leader=="Sharif"
replace leadno=2028 if ccname=="Pakistan" & leader=="Musharraf"
replace leadno=2029 if ccname=="Panama" & leader=="Jose Agustin Arango"
replace leadno=2030 if ccname=="Panama" & leader=="Manuel Amador Guerrero"
replace leadno=2031 if ccname=="Panama" & leader=="Jose Domingo de Obaldia"
replace leadno=2032 if ccname=="Panama" & leader=="Carlos Antonio Mendoza"
replace leadno=2033 if ccname=="Panama" & leader=="Pablo Arosemena Alba"
replace leadno=2034 if ccname=="Panama" & leader=="Rudolfo Chiari"
replace leadno=2035 if ccname=="Panama" & leader=="Pablo Arosemena Alba"
replace leadno=2036 if ccname=="Panama" & leader=="Belisario Porras Barahona"
replace leadno=2037 if ccname=="Panama" & leader=="Ramon Maximiliano Valdes"
replace leadno=2038 if ccname=="Panama" & leader=="Ciro Luis Urriola"
replace leadno=2039 if ccname=="Panama" & leader=="Belisario Porras Barahona"
replace leadno=2040 if ccname=="Panama" & leader=="Ernesto Lefevre"
replace leadno=2041 if ccname=="Panama" & leader=="Belisario Porras Barahona"
replace leadno=2042 if ccname=="Panama" & leader=="Rudolfo Chiari"
replace leadno=2043 if ccname=="Panama" & leader=="Tomas Duque"
replace leadno=2044 if ccname=="Panama" & leader=="Florencio Harmodio Arosemena"
replace leadno=2045 if ccname=="Panama" & leader=="Arias, H."
replace leadno=2046 if ccname=="Panama" & leader=="Alfaro"
replace leadno=2047 if ccname=="Panama" & leader=="Arias, H."
replace leadno=2048 if ccname=="Panama" & leader=="Arosomena, Juan"
replace leadno=2049 if ccname=="Panama" & leader=="Boyd"
replace leadno=2050 if ccname=="Panama" & leader=="Arias, A."
replace leadno=2051 if ccname=="Panama" & leader=="Ernesto Jaen Guardia"
replace leadno=2052 if ccname=="Panama" & leader=="Guardia, R."
replace leadno=2053 if ccname=="Panama" & leader=="Jimenez"
replace leadno=2054 if ccname=="Panama" & leader=="Diaz Arosomena"
replace leadno=2055 if ccname=="Panama" & leader=="Chaniz Pinzon"
replace leadno=2056 if ccname=="Panama" & leader=="Chiari, Roberto"
replace leadno=2057 if ccname=="Panama" & leader=="Arias, A."
replace leadno=2058 if ccname=="Panama" & leader=="Arosomena, A."
replace leadno=2059 if ccname=="Panama" & leader=="Remon Cantero"
replace leadno=2060 if ccname=="Panama" & leader=="Guizado"
replace leadno=2061 if ccname=="Panama" & leader=="Arias Espinosa"
replace leadno=2062 if ccname=="Panama" & leader=="Guardia Jr., E."
replace leadno=2063 if ccname=="Panama" & leader=="Chiari, Roberto"
replace leadno=2064 if ccname=="Panama" & leader=="Robles"
replace leadno=2065 if ccname=="Panama" & leader=="Arias, A."
replace leadno=2066 if ccname=="Panama" & leader=="Torrijos Herrera"
replace leadno=2067 if ccname=="Panama" & leader=="Florez Aguilar"
replace leadno=2068 if ccname=="Panama" & leader=="Dario Paredes"
replace leadno=2069 if ccname=="Panama" & leader=="Noriega"
replace leadno=2070 if ccname=="Panama" & leader=="Endara"
replace leadno=2071 if ccname=="Panama" & leader=="Balladares"
replace leadno=2072 if ccname=="Panama" & leader=="Mireya Moscoso"
replace leadno=2073 if ccname=="Panama" & leader=="Martin Torrijos"
replace leadno=2074 if ccname=="Papua New Guinea" & leader=="Somare"
replace leadno=2075 if ccname=="Papua New Guinea" & leader=="Chan"
replace leadno=2076 if ccname=="Papua New Guinea" & leader=="Somare"
replace leadno=2077 if ccname=="Papua New Guinea" & leader=="Wingti"
replace leadno=2078 if ccname=="Papua New Guinea" & leader=="Namaliu"
replace leadno=2079 if ccname=="Papua New Guinea" & leader=="Wingti"
replace leadno=2080 if ccname=="Papua New Guinea" & leader=="Chan"
replace leadno=2081 if ccname=="Papua New Guinea" & leader=="Skate"
replace leadno=2082 if ccname=="Papua New Guinea" & leader=="Morauta"
replace leadno=2083 if ccname=="Papua New Guinea" & leader=="Somare"
replace leadno=2084 if ccname=="Paraguay" & leader=="Gill"
replace leadno=2085 if ccname=="Paraguay" & leader=="Uriarte"
replace leadno=2086 if ccname=="Paraguay" & leader=="Barreiro"
replace leadno=2087 if ccname=="Paraguay" & leader=="Caballero"
replace leadno=2088 if ccname=="Paraguay" & leader=="Escobar"
replace leadno=2089 if ccname=="Paraguay" & leader=="Gonzalez"
replace leadno=2090 if ccname=="Paraguay" & leader=="Morinigo"
replace leadno=2091 if ccname=="Paraguay" & leader=="Egusquiza"
replace leadno=2092 if ccname=="Paraguay" & leader=="Aceval"
replace leadno=2093 if ccname=="Paraguay" & leader=="Carvallo"
replace leadno=2094 if ccname=="Paraguay" & leader=="Escurra"
replace leadno=2095 if ccname=="Paraguay" & leader=="Gaona"
replace leadno=2096 if ccname=="Paraguay" & leader=="Baez"
replace leadno=2097 if ccname=="Paraguay" & leader=="Ferreira"
replace leadno=2098 if ccname=="Paraguay" & leader=="Gonzales Navero"
replace leadno=2099 if ccname=="Paraguay" & leader=="Gondra"
replace leadno=2100 if ccname=="Paraguay" & leader=="Jara"
replace leadno=2101 if ccname=="Paraguay" & leader=="Rojas"
replace leadno=2102 if ccname=="Paraguay" & leader=="Pena"
replace leadno=2103 if ccname=="Paraguay" & leader=="Gonzalez Navero"
replace leadno=2104 if ccname=="Paraguay" & leader=="Schaerer"
replace leadno=2105 if ccname=="Paraguay" & leader=="Manuel Franco"
replace leadno=2106 if ccname=="Paraguay" & leader=="Montero"
replace leadno=2107 if ccname=="Paraguay" & leader=="Gondra"
replace leadno=2108 if ccname=="Paraguay" & leader=="Paiva"
replace leadno=2109 if ccname=="Paraguay" & leader=="Ayala Eusebio"
replace leadno=2110 if ccname=="Paraguay" & leader=="Ayala Eligio"
replace leadno=2111 if ccname=="Paraguay" & leader=="Riart"
replace leadno=2112 if ccname=="Paraguay" & leader=="Ayala Eligio"
replace leadno=2113 if ccname=="Paraguay" & leader=="Guggiari"
replace leadno=2114 if ccname=="Paraguay" & leader=="Gonzalez Navero"
replace leadno=2115 if ccname=="Paraguay" & leader=="Guggiari"
replace leadno=2116 if ccname=="Paraguay" & leader=="Ayala Eusebio"
replace leadno=2117 if ccname=="Paraguay" & leader=="Rafael Franco"
replace leadno=2118 if ccname=="Paraguay" & leader=="Paiva"
replace leadno=2119 if ccname=="Paraguay" & leader=="Estigarribia"
replace leadno=2120 if ccname=="Paraguay" & leader=="Morinigo"
replace leadno=2121 if ccname=="Paraguay" & leader=="Frutos"
replace leadno=2122 if ccname=="Paraguay" & leader=="Natalicio"
replace leadno=2123 if ccname=="Paraguay" & leader=="Rolon"
replace leadno=2124 if ccname=="Paraguay" & leader=="Molas Lopez"
replace leadno=2125 if ccname=="Paraguay" & leader=="Chavez"
replace leadno=2126 if ccname=="Paraguay" & leader=="Pareira"
replace leadno=2127 if ccname=="Paraguay" & leader=="Stroessner"
replace leadno=2128 if ccname=="Paraguay" & leader=="Rodriguez Pedotti"
replace leadno=2129 if ccname=="Paraguay" & leader=="Wasmosy Monti"
replace leadno=2130 if ccname=="Paraguay" & leader=="Cubas Grau"
replace leadno=2131 if ccname=="Paraguay" & leader=="Gonzalez Macchi"
replace leadno=2132 if ccname=="Paraguay" & leader=="Nicanor Duarte Frutos"
replace leadno=2133 if ccname=="Peru" & leader=="Pardo"
replace leadno=2134 if ccname=="Peru" & leader=="Prado"
replace leadno=2135 if ccname=="Peru" & leader=="Luis de la Puerta"
replace leadno=2136 if ccname=="Peru" & leader=="Pierola"
replace leadno=2137 if ccname=="Peru" & leader=="Francisco Garcia Calderon"
replace leadno=2138 if ccname=="Peru" & leader=="Montero"
replace leadno=2139 if ccname=="Peru" & leader=="Iglesias"
replace leadno=2140 if ccname=="Peru" & leader=="Caceres"
replace leadno=2141 if ccname=="Peru" & leader=="Bermudez"
replace leadno=2142 if ccname=="Peru" & leader=="Borgono"
replace leadno=2143 if ccname=="Peru" & leader=="Caceres"
replace leadno=2144 if ccname=="Peru" & leader=="de Candamo"
replace leadno=2145 if ccname=="Peru" & leader=="Pierola"
replace leadno=2146 if ccname=="Peru" & leader=="de Romana"
replace leadno=2147 if ccname=="Peru" & leader=="de Candamo"
replace leadno=2148 if ccname=="Peru" & leader=="Serapio Calderon"
replace leadno=2149 if ccname=="Peru" & leader=="Pardo y Barreda"
replace leadno=2150 if ccname=="Peru" & leader=="Leguia"
replace leadno=2151 if ccname=="Peru" & leader=="Billinghurst"
replace leadno=2152 if ccname=="Peru" & leader=="Benavides"
replace leadno=2153 if ccname=="Peru" & leader=="Pardo y Barreda"
replace leadno=2154 if ccname=="Peru" & leader=="Leguia"
replace leadno=2155 if ccname=="Peru" & leader=="Ponce Brousset"
replace leadno=2156 if ccname=="Peru" & leader=="Sanchez Cerro"
replace leadno=2157 if ccname=="Peru" & leader=="Ricardo Leonicio Elias"
replace leadno=2158 if ccname=="Peru" & leader=="Gustavo Jimenez"
replace leadno=2159 if ccname=="Peru" & leader=="Samanez Ocampo"
replace leadno=2160 if ccname=="Peru" & leader=="Sanchez Cerro"
replace leadno=2161 if ccname=="Peru" & leader=="Benavidez"
replace leadno=2162 if ccname=="Peru" & leader=="Ugarteche"
replace leadno=2163 if ccname=="Peru" & leader=="Bustamante"
replace leadno=2164 if ccname=="Peru" & leader=="Odria"
replace leadno=2165 if ccname=="Peru" & leader=="Noriega"
replace leadno=2166 if ccname=="Peru" & leader=="Odria"
replace leadno=2167 if ccname=="Peru" & leader=="Ugarteche"
replace leadno=2168 if ccname=="Peru" & leader=="Perez Godoy"
replace leadno=2169 if ccname=="Peru" & leader=="Lindley Lopez"
replace leadno=2170 if ccname=="Peru" & leader=="Belaunde"
replace leadno=2171 if ccname=="Peru" & leader=="Velasco Alvarado"
replace leadno=2172 if ccname=="Peru" & leader=="Morales Bermudez"
replace leadno=2173 if ccname=="Peru" & leader=="Belaunde"
replace leadno=2174 if ccname=="Peru" & leader=="Garcia Perez"
replace leadno=2175 if ccname=="Peru" & leader=="Fujimori"
replace leadno=2176 if ccname=="Peru" & leader=="Valentin Paniagua"
replace leadno=2177 if ccname=="Peru" & leader=="Alejandro Toledo"
replace leadno=2178 if ccname=="Philippines" & leader=="Roxas"
replace leadno=2179 if ccname=="Philippines" & leader=="Quirrino"
replace leadno=2180 if ccname=="Philippines" & leader=="Magsaysay"
replace leadno=2181 if ccname=="Philippines" & leader=="Garcia"
replace leadno=2182 if ccname=="Philippines" & leader=="Macapagal"
replace leadno=2183 if ccname=="Philippines" & leader=="Marcos"
replace leadno=2184 if ccname=="Philippines" & leader=="Aquino"
replace leadno=2185 if ccname=="Philippines" & leader=="Ramos"
replace leadno=2186 if ccname=="Philippines" & leader=="Estrada"
replace leadno=2187 if ccname=="Philippines" & leader=="Gloria Macapagal-Arroyo"
replace leadno=2188 if ccname=="Poland" & leader=="Daszynski"
replace leadno=2189 if ccname=="Poland" & leader=="Pildsudski"
replace leadno=2190 if ccname=="Poland" & leader=="Narutowicz"
replace leadno=2191 if ccname=="Poland" & leader=="Wojciechowski"
replace leadno=2192 if ccname=="Poland" & leader=="Pildsudski"
replace leadno=2193 if ccname=="Poland" & leader=="Smigly-Rydz"
replace leadno=2194 if ccname=="Poland" & leader=="Bierut"
replace leadno=2195 if ccname=="Poland" & leader=="Ochab"
replace leadno=2196 if ccname=="Poland" & leader=="Gomulka"
replace leadno=2197 if ccname=="Poland" & leader=="Gierek"
replace leadno=2198 if ccname=="Poland" & leader=="Kania"
replace leadno=2199 if ccname=="Poland" & leader=="Jaruzelski"
replace leadno=2200 if ccname=="Poland" & leader=="Walesa"
replace leadno=2201 if ccname=="Poland" & leader=="Kwasniewski"
replace leadno=2202 if ccname=="Portugal" & leader=="Luis I"
replace leadno=2203 if ccname=="Portugal" & leader=="Carlos I"
replace leadno=2204 if ccname=="Portugal" & leader=="Manuel II"
replace leadno=2205 if ccname=="Portugal" & leader=="Braga"
replace leadno=2206 if ccname=="Portugal" & leader=="Arriaga"
replace leadno=2207 if ccname=="Portugal" & leader=="Braga"
replace leadno=2208 if ccname=="Portugal" & leader=="Machado Guimaraes"
replace leadno=2209 if ccname=="Portugal" & leader=="Paes"
replace leadno=2210 if ccname=="Portugal" & leader=="Joao Canto e Castro"
replace leadno=2211 if ccname=="Portugal" & leader=="Almeida"
replace leadno=2212 if ccname=="Portugal" & leader=="Gomes"
replace leadno=2213 if ccname=="Portugal" & leader=="Machado Guimaraes"
replace leadno=2214 if ccname=="Portugal" & leader=="Carmona"
replace leadno=2215 if ccname=="Portugal" & leader=="Salazar"
replace leadno=2216 if ccname=="Portugal" & leader=="Caetano"
replace leadno=2217 if ccname=="Portugal" & leader=="Spinola"
replace leadno=2218 if ccname=="Portugal" & leader=="Costa Gomes"
replace leadno=2219 if ccname=="Portugal" & leader=="Eanes"
replace leadno=2220 if ccname=="Portugal" & leader=="Soares"
replace leadno=2221 if ccname=="Portugal" & leader=="Sampaio"
replace leadno=2222 if ccname=="Qatar" & leader=="Ahmed Ath-Thani"
replace leadno=2223 if ccname=="Qatar" & leader=="Khalifah Ath-Thani"
replace leadno=2224 if ccname=="Qatar" & leader=="Amad Al Thani"
replace leadno=2225 if ccname=="Republic of Vietnam" & leader=="Pham Buu Loc"
replace leadno=2226 if ccname=="Republic of Vietnam" & leader=="Quat"
replace leadno=2227 if ccname=="Republic of Vietnam" & leader=="Ngo Dinh Diem"
replace leadno=2228 if ccname=="Republic of Vietnam" & leader=="Minh"
replace leadno=2229 if ccname=="Republic of Vietnam" & leader=="Khanh"
replace leadno=2230 if ccname=="Republic of Vietnam" & leader=="Van Huong"
replace leadno=2231 if ccname=="Republic of Vietnam" & leader=="Khahn"
replace leadno=2232 if ccname=="Republic of Vietnam" & leader=="Quat"
replace leadno=2233 if ccname=="Republic of Vietnam" & leader=="Van Thieu"
replace leadno=2234 if ccname=="Republic of Vietnam" & leader=="Minh"
replace leadno=2235 if ccname=="Romania" & leader=="Carol I"
replace leadno=2236 if ccname=="Romania" & leader=="Ferdinand I"
replace leadno=2237 if ccname=="Romania" & leader=="Nicholas"
replace leadno=2238 if ccname=="Romania" & leader=="Carol II"
replace leadno=2239 if ccname=="Romania" & leader=="Antonescu"
replace leadno=2240 if ccname=="Romania" & leader=="Michael"
replace leadno=2241 if ccname=="Romania" & leader=="Georghiu-Dej"
replace leadno=2242 if ccname=="Romania" & leader=="Ceausescu"
replace leadno=2243 if ccname=="Romania" & leader=="Roman"
replace leadno=2244 if ccname=="Romania" & leader=="Stolojan"
replace leadno=2245 if ccname=="Romania" & leader=="Vacariou"
replace leadno=2246 if ccname=="Romania" & leader=="Ciorbea"
replace leadno=2247 if ccname=="Romania" & leader=="Dejeu"
replace leadno=2248 if ccname=="Romania" & leader=="Vasile"
replace leadno=2249 if ccname=="Romania" & leader=="Athanasiu"
replace leadno=2250 if ccname=="Romania" & leader=="Isarescu"
replace leadno=2251 if ccname=="Romania" & leader=="A. Nastase"
replace leadno=2252 if ccname=="Romania" & leader=="Eugen Bejinariu"
replace leadno=2253 if ccname=="Romania" & leader=="Traian Basescu"
replace leadno=2254 if ccname=="Russia" & leader=="Alexander II"
replace leadno=2255 if ccname=="Russia" & leader=="Alexander III"
replace leadno=2256 if ccname=="Russia" & leader=="Nicholas II"
replace leadno=2257 if ccname=="Russia" & leader=="Lenin"
replace leadno=2258 if ccname=="Russia" & leader=="Stalin"
replace leadno=2259 if ccname=="Russia" & leader=="Malenkov"
replace leadno=2260 if ccname=="Russia" & leader=="Khrushchev"
replace leadno=2261 if ccname=="Russia" & leader=="Brezhnev"
replace leadno=2262 if ccname=="Russia" & leader=="Andropov"
replace leadno=2263 if ccname=="Russia" & leader=="Chernenko"
replace leadno=2264 if ccname=="Russia" & leader=="Gorbachev"
replace leadno=2265 if ccname=="Russia" & leader=="Yeltsin"
replace leadno=2266 if ccname=="Russia" & leader=="Putin"
replace leadno=2267 if ccname=="Rwanda" & leader=="Kayibanda"
replace leadno=2268 if ccname=="Rwanda" & leader=="Habyarimana"
replace leadno=2269 if ccname=="Rwanda" & leader=="Sindikubwabo"
replace leadno=2270 if ccname=="Rwanda" & leader=="Paul Kagame"
replace leadno=2271 if ccname=="Saudi Arabia" & leader=="Aziz"
replace leadno=2272 if ccname=="Saudi Arabia" & leader=="Saud"
replace leadno=2273 if ccname=="Saudi Arabia" & leader=="Faisal"
replace leadno=2274 if ccname=="Saudi Arabia" & leader=="Khalid"
replace leadno=2275 if ccname=="Saudi Arabia" & leader=="Fahd"
replace leadno=2276 if ccname=="Saudi Arabia" & leader=="Abdullah"
replace leadno=2277 if ccname=="Senegal" & leader=="Senghor"
replace leadno=2278 if ccname=="Senegal" & leader=="Diouf"
replace leadno=2279 if ccname=="Senegal" & leader=="Abdoulaye Wade"
replace leadno=2280 if ccname=="Serbia" & leader=="Milan I"
replace leadno=2281 if ccname=="Serbia" & leader=="Ristic (Regency)"
replace leadno=2282 if ccname=="Serbia" & leader=="Alexander I"
replace leadno=2283 if ccname=="Serbia" & leader=="Peter I"
replace leadno=2284 if ccname=="Serbia" & leader=="Alexander"
replace leadno=2285 if ccname=="Sierra Leone" & leader=="Margai,M"
replace leadno=2286 if ccname=="Sierra Leone" & leader=="Margai, A"
replace leadno=2287 if ccname=="Sierra Leone" & leader=="Lansana"
replace leadno=2288 if ccname=="Sierra Leone" & leader=="Juxon-Smith"
replace leadno=2289 if ccname=="Sierra Leone" & leader=="Stevens"
replace leadno=2290 if ccname=="Sierra Leone" & leader=="Momoh"
replace leadno=2291 if ccname=="Sierra Leone" & leader=="Strasser"
replace leadno=2292 if ccname=="Sierra Leone" & leader=="Bio"
replace leadno=2293 if ccname=="Sierra Leone" & leader=="Kabbah"
replace leadno=2294 if ccname=="Sierra Leone" & leader=="Koroma"
replace leadno=2295 if ccname=="Sierra Leone" & leader=="Kabbah"
replace leadno=2296 if ccname=="Singapore" & leader=="Lee Kuan Yew"
replace leadno=2297 if ccname=="Singapore" & leader=="Goh Chok Tong"
replace leadno=2298 if ccname=="Singapore" & leader=="Lee Hsien Loong"
replace leadno=2299 if ccname=="Slovak Republic" & leader=="Meciar"
replace leadno=2300 if ccname=="Slovak Republic" & leader=="Moravcik"
replace leadno=2301 if ccname=="Slovak Republic" & leader=="Meciar"
replace leadno=2302 if ccname=="Slovak Republic" & leader=="Dzurinda"
replace leadno=2303 if ccname=="Slovenia" & leader=="Kucan"
replace leadno=2304 if ccname=="Slovenia" & leader=="Peterle"
replace leadno=2305 if ccname=="Slovenia" & leader=="Drnovsek"
replace leadno=2306 if ccname=="Slovenia" & leader=="Bajuk"
replace leadno=2307 if ccname=="Slovenia" & leader=="Drnovsek"
replace leadno=2308 if ccname=="Slovenia" & leader=="Anton Rop"
replace leadno=2309 if ccname=="Slovenia" & leader=="Janez Jansa"
replace leadno=2310 if ccname=="Somalia" & leader=="Osman Daar"
replace leadno=2311 if ccname=="Somalia" & leader=="Shermarke"
replace leadno=2312 if ccname=="Somalia" & leader=="Siad Barre"
replace leadno=2313 if ccname=="South Africa" & leader=="Louis Botha"
replace leadno=2314 if ccname=="South Africa" & leader=="Smuts"
replace leadno=2315 if ccname=="South Africa" & leader=="Hertzog"
replace leadno=2316 if ccname=="South Africa" & leader=="Smuts"
replace leadno=2317 if ccname=="South Africa" & leader=="Malan"
replace leadno=2318 if ccname=="South Africa" & leader=="Strijdom"
replace leadno=2319 if ccname=="South Africa" & leader=="Swart"
replace leadno=2320 if ccname=="South Africa" & leader=="Verwoerd"
replace leadno=2321 if ccname=="South Africa" & leader=="Donges"
replace leadno=2322 if ccname=="South Africa" & leader=="Vorster"
replace leadno=2323 if ccname=="South Africa" & leader=="Botha"
replace leadno=2324 if ccname=="South Africa" & leader=="Heunis"
replace leadno=2325 if ccname=="South Africa" & leader=="Botha"
replace leadno=2326 if ccname=="South Africa" & leader=="deKlerk"
replace leadno=2327 if ccname=="South Africa" & leader=="Mandela"
replace leadno=2328 if ccname=="South Africa" & leader=="Mbeki"
replace leadno=2329 if ccname=="South Korea" & leader=="Yi Hyong"
replace leadno=2330 if ccname=="South Korea" & leader=="Yi Ch'ok"
replace leadno=2331 if ccname=="South Korea" & leader=="Rhee"
replace leadno=2332 if ccname=="South Korea" & leader=="Ho Chong"
replace leadno=2333 if ccname=="South Korea" & leader=="Myun Chang"
replace leadno=2334 if ccname=="South Korea" & leader=="Chang Do Yong"
replace leadno=2335 if ccname=="South Korea" & leader=="Hee Park"
replace leadno=2336 if ccname=="South Korea" & leader=="Choi Kuy Hay"
replace leadno=2337 if ccname=="South Korea" & leader=="Park Choong Hoon"
replace leadno=2338 if ccname=="South Korea" & leader=="Chun Doo Hwan"
replace leadno=2339 if ccname=="South Korea" & leader=="Roh Tae Woo"
replace leadno=2340 if ccname=="South Korea" & leader=="Kim Young Sam"
replace leadno=2341 if ccname=="South Korea" & leader=="Kim Dae Jung"
replace leadno=2342 if ccname=="South Korea" & leader=="Roh Moo Hyun"
replace leadno=2343 if ccname=="Spain" & leader=="del Castillo"
replace leadno=2344 if ccname=="Spain" & leader=="Jovellar"
replace leadno=2345 if ccname=="Spain" & leader=="del Castillo"
replace leadno=2346 if ccname=="Spain" & leader=="Martinez-Campos"
replace leadno=2347 if ccname=="Spain" & leader=="del Castillo"
replace leadno=2348 if ccname=="Spain" & leader=="Sagasta"
replace leadno=2349 if ccname=="Spain" & leader=="Herrera"
replace leadno=2350 if ccname=="Spain" & leader=="del Castillo"
replace leadno=2351 if ccname=="Spain" & leader=="Sagasta"
replace leadno=2352 if ccname=="Spain" & leader=="del Castillo"
replace leadno=2353 if ccname=="Spain" & leader=="Sagasta"
replace leadno=2354 if ccname=="Spain" & leader=="del Castillo"
replace leadno=2355 if ccname=="Spain" & leader=="Azcarraga y Palmero"
replace leadno=2356 if ccname=="Spain" & leader=="Sagasta"
replace leadno=2357 if ccname=="Spain" & leader=="Le-Vielleuze"
replace leadno=2358 if ccname=="Spain" & leader=="Azcarraga y Palmero"
replace leadno=2359 if ccname=="Spain" & leader=="Sagasta"
replace leadno=2360 if ccname=="Spain" & leader=="Le-Vielleuze"
replace leadno=2361 if ccname=="Spain" & leader=="Villaverde"
replace leadno=2362 if ccname=="Spain" & leader=="Maura y Montaner"
replace leadno=2363 if ccname=="Spain" & leader=="Azcarraga y Palmero"
replace leadno=2364 if ccname=="Spain" & leader=="Villaverde"
replace leadno=2365 if ccname=="Spain" & leader=="Rios"
replace leadno=2366 if ccname=="Spain" & leader=="Moret y Prendergast"
replace leadno=2367 if ccname=="Spain" & leader=="Dominguez"
replace leadno=2368 if ccname=="Spain" & leader=="Moret y Prendergast"
replace leadno=2369 if ccname=="Spain" & leader=="Aguilar y Correa"
replace leadno=2370 if ccname=="Spain" & leader=="Maura y Montaner"
replace leadno=2371 if ccname=="Spain" & leader=="Moret y Prendergast"
replace leadno=2372 if ccname=="Spain" & leader=="Canalejas y Mendez"
replace leadno=2373 if ccname=="Spain" & leader=="Figueroa y Torres"
replace leadno=2374 if ccname=="Spain" & leader=="Garcia Prieto"
replace leadno=2375 if ccname=="Spain" & leader=="Dato y Iradier"
replace leadno=2376 if ccname=="Spain" & leader=="Figueroa y Torres"
replace leadno=2377 if ccname=="Spain" & leader=="Garcia Prieto"
replace leadno=2378 if ccname=="Spain" & leader=="Dato y Iradier"
replace leadno=2379 if ccname=="Spain" & leader=="Garcia Prieto"
replace leadno=2380 if ccname=="Spain" & leader=="Maura y Montaner"
replace leadno=2381 if ccname=="Spain" & leader=="Garcia Prieto"
replace leadno=2382 if ccname=="Spain" & leader=="Figueroa y Torres"
replace leadno=2383 if ccname=="Spain" & leader=="Maura y Montaner"
replace leadno=2384 if ccname=="Spain" & leader=="de Toca"
replace leadno=2385 if ccname=="Spain" & leader=="Allende Salazar"
replace leadno=2386 if ccname=="Spain" & leader=="Dato y Iradier"
replace leadno=2387 if ccname=="Spain" & leader=="Araugo"
replace leadno=2388 if ccname=="Spain" & leader=="Allende Salazar"
replace leadno=2389 if ccname=="Spain" & leader=="Maura y Montaner"
replace leadno=2390 if ccname=="Spain" & leader=="Sanchez Guerra"
replace leadno=2391 if ccname=="Spain" & leader=="Garcia Prieto"
replace leadno=2392 if ccname=="Spain" & leader=="de Rivera"
replace leadno=2393 if ccname=="Spain" & leader=="Berenguer"
replace leadno=2394 if ccname=="Spain" & leader=="Azmar-Cabanas"
replace leadno=2395 if ccname=="Spain" & leader=="Alcala Zamora"
replace leadno=2396 if ccname=="Spain" & leader=="Azana y Diez"
replace leadno=2397 if ccname=="Spain" & leader=="Lerroux y Garcia"
replace leadno=2398 if ccname=="Spain" & leader=="Martinez Barro"
replace leadno=2399 if ccname=="Spain" & leader=="Lerroux y Garcia"
replace leadno=2400 if ccname=="Spain" & leader=="Ibanez"
replace leadno=2401 if ccname=="Spain" & leader=="Lerroux y Garcia"
replace leadno=2402 if ccname=="Spain" & leader=="Chapaprieta"
replace leadno=2403 if ccname=="Spain" & leader=="Portela"
replace leadno=2404 if ccname=="Spain" & leader=="Azana y Diez"
replace leadno=2405 if ccname=="Spain" & leader=="Casares Quiroga"
replace leadno=2406 if ccname=="Spain" & leader=="Martinez Barro"
replace leadno=2407 if ccname=="Spain" & leader=="Giral y Pereyra"
replace leadno=2408 if ccname=="Spain" & leader=="Largo Caballero"
replace leadno=2409 if ccname=="Spain" & leader=="Negrin"
replace leadno=2410 if ccname=="Spain" & leader=="Miaja"
replace leadno=2411 if ccname=="Spain" & leader=="Franco"
replace leadno=2412 if ccname=="Spain" & leader=="Juan Carlos"
replace leadno=2413 if ccname=="Spain" & leader=="Arias Navarro"
replace leadno=2414 if ccname=="Spain" & leader=="Suarez Gonzalez"
replace leadno=2415 if ccname=="Spain" & leader=="Calvo-Sotelo"
replace leadno=2416 if ccname=="Spain" & leader=="Gonzalez Marquez"
replace leadno=2417 if ccname=="Spain" & leader=="Aznar"
replace leadno=2418 if ccname=="Spain" & leader=="Rodriguez Zapatero"
replace leadno=2419 if ccname=="Sri Lanka" & leader=="Senanayake, Don"
replace leadno=2420 if ccname=="Sri Lanka" & leader=="Senanayake, Dudley"
replace leadno=2421 if ccname=="Sri Lanka" & leader=="Kotelawala"
replace leadno=2422 if ccname=="Sri Lanka" & leader=="Bandaranaike, S.W.R.D."
replace leadno=2423 if ccname=="Sri Lanka" & leader=="Dahanayake"
replace leadno=2424 if ccname=="Sri Lanka" & leader=="Senanayake, Dudley"
replace leadno=2425 if ccname=="Sri Lanka" & leader=="Bandaranaike, S"
replace leadno=2426 if ccname=="Sri Lanka" & leader=="Senanayake, Dudley"
replace leadno=2427 if ccname=="Sri Lanka" & leader=="Bandaranaike, S"
replace leadno=2428 if ccname=="Sri Lanka" & leader=="Jayewardene"
replace leadno=2429 if ccname=="Sri Lanka" & leader=="Premadasa"
replace leadno=2430 if ccname=="Sri Lanka" & leader=="Wijetunge"
replace leadno=2431 if ccname=="Sri Lanka" & leader=="Kumaratunga"
replace leadno=2432 if ccname=="Sudan" & leader=="Al-Azhari"
replace leadno=2433 if ccname=="Sudan" & leader=="Khalil"
replace leadno=2434 if ccname=="Sudan" & leader=="Abboud"
replace leadno=2435 if ccname=="Sudan" & leader=="al-Khalifa"
replace leadno=2436 if ccname=="Sudan" & leader=="Maghoub"
replace leadno=2437 if ccname=="Sudan" & leader=="Mahdi"
replace leadno=2438 if ccname=="Sudan" & leader=="Maghoub"
replace leadno=2439 if ccname=="Sudan" & leader=="Nimeiri"
replace leadno=2440 if ccname=="Sudan" & leader=="Osman"
replace leadno=2441 if ccname=="Sudan" & leader=="Nimeiri"
replace leadno=2442 if ccname=="Sudan" & leader=="Abdul Rahman Swaredahab"
replace leadno=2443 if ccname=="Sudan" & leader=="Al-Mirghani"
replace leadno=2444 if ccname=="Sudan" & leader=="Al-Bashir"
replace leadno=2445 if ccname=="Swaziland" & leader=="Subhuza II"
replace leadno=2446 if ccname=="Swaziland" & leader=="Dzeliwe Shongwe"
replace leadno=2447 if ccname=="Swaziland" & leader=="Ntombe Thwala"
replace leadno=2448 if ccname=="Swaziland" & leader=="Mswati"
replace leadno=2449 if ccname=="Sweden" & leader=="Oscar II"
replace leadno=2450 if ccname=="Sweden" & leader=="de Geer af Finsp�ng"
replace leadno=2451 if ccname=="Sweden" & leader=="Posse"
replace leadno=2452 if ccname=="Sweden" & leader=="Thyselius"
replace leadno=2453 if ccname=="Sweden" & leader=="Themptander"
replace leadno=2454 if ccname=="Sweden" & leader=="Bildt"
replace leadno=2455 if ccname=="Sweden" & leader=="Akerhjelm"
replace leadno=2456 if ccname=="Sweden" & leader=="Bostrom"
replace leadno=2457 if ccname=="Sweden" & leader=="Otter"
replace leadno=2458 if ccname=="Sweden" & leader=="Bostrom"
replace leadno=2459 if ccname=="Sweden" & leader=="Ramstedt"
replace leadno=2460 if ccname=="Sweden" & leader=="Lundeberg"
replace leadno=2461 if ccname=="Sweden" & leader=="Staaf"
replace leadno=2462 if ccname=="Sweden" & leader=="Lindman"
replace leadno=2463 if ccname=="Sweden" & leader=="Staaf"
replace leadno=2464 if ccname=="Sweden" & leader=="Hammarskjold"
replace leadno=2465 if ccname=="Sweden" & leader=="Swartz"
replace leadno=2466 if ccname=="Sweden" & leader=="Eden"
replace leadno=2467 if ccname=="Sweden" & leader=="Branting"
replace leadno=2468 if ccname=="Sweden" & leader=="de Geer"
replace leadno=2469 if ccname=="Sweden" & leader=="von Sydow"
replace leadno=2470 if ccname=="Sweden" & leader=="Branting"
replace leadno=2471 if ccname=="Sweden" & leader=="Trygger"
replace leadno=2472 if ccname=="Sweden" & leader=="Branting"
replace leadno=2473 if ccname=="Sweden" & leader=="Sandler"
replace leadno=2474 if ccname=="Sweden" & leader=="Ekman"
replace leadno=2475 if ccname=="Sweden" & leader=="Lindman"
replace leadno=2476 if ccname=="Sweden" & leader=="Ekman"
replace leadno=2477 if ccname=="Sweden" & leader=="Hamrin"
replace leadno=2478 if ccname=="Sweden" & leader=="Hansson"
replace leadno=2479 if ccname=="Sweden" & leader=="Pehrsson-Bramst"
replace leadno=2480 if ccname=="Sweden" & leader=="Hansson"
replace leadno=2481 if ccname=="Sweden" & leader=="Erlander"
replace leadno=2482 if ccname=="Sweden" & leader=="Palme"
replace leadno=2483 if ccname=="Sweden" & leader=="Falldin"
replace leadno=2484 if ccname=="Sweden" & leader=="Ullsten"
replace leadno=2485 if ccname=="Sweden" & leader=="Falldin"
replace leadno=2486 if ccname=="Sweden" & leader=="Palme"
replace leadno=2487 if ccname=="Sweden" & leader=="Carlsson"
replace leadno=2488 if ccname=="Sweden" & leader=="Bildt"
replace leadno=2489 if ccname=="Sweden" & leader=="Carlsson"
replace leadno=2490 if ccname=="Sweden" & leader=="Persson"
replace leadno=2491 if ccname=="Switzerland" & leader=="Scherer"
replace leadno=2492 if ccname=="Switzerland" & leader=="Welti"
replace leadno=2493 if ccname=="Switzerland" & leader=="Heer"
replace leadno=2494 if ccname=="Switzerland" & leader=="Schenck"
replace leadno=2495 if ccname=="Switzerland" & leader=="Hammer"
replace leadno=2496 if ccname=="Switzerland" & leader=="Welti"
replace leadno=2497 if ccname=="Switzerland" & leader=="Droz"
replace leadno=2498 if ccname=="Switzerland" & leader=="Bavier"
replace leadno=2499 if ccname=="Switzerland" & leader=="Ruchonnet"
replace leadno=2500 if ccname=="Switzerland" & leader=="Welti"
replace leadno=2501 if ccname=="Switzerland" & leader=="Schenck"
replace leadno=2502 if ccname=="Switzerland" & leader=="Deucher"
replace leadno=2503 if ccname=="Switzerland" & leader=="Droz"
replace leadno=2504 if ccname=="Switzerland" & leader=="Hertenstein"
replace leadno=2505 if ccname=="Switzerland" & leader=="Hammer"
replace leadno=2506 if ccname=="Switzerland" & leader=="Ruchonnet"
replace leadno=2507 if ccname=="Switzerland" & leader=="Welti"
replace leadno=2508 if ccname=="Switzerland" & leader=="Hauser"
replace leadno=2509 if ccname=="Switzerland" & leader=="Schenck"
replace leadno=2510 if ccname=="Switzerland" & leader=="Frey"
replace leadno=2511 if ccname=="Switzerland" & leader=="Zemp"
replace leadno=2512 if ccname=="Switzerland" & leader=="Lachenal"
replace leadno=2513 if ccname=="Switzerland" & leader=="Deucher"
replace leadno=2514 if ccname=="Switzerland" & leader=="Ruffy"
replace leadno=2515 if ccname=="Switzerland" & leader=="Muller"
replace leadno=2516 if ccname=="Switzerland" & leader=="Hauser"
replace leadno=2517 if ccname=="Switzerland" & leader=="Brenner"
replace leadno=2518 if ccname=="Switzerland" & leader=="Zemp"
replace leadno=2519 if ccname=="Switzerland" & leader=="Deucher"
replace leadno=2520 if ccname=="Switzerland" & leader=="Comtesse"
replace leadno=2521 if ccname=="Switzerland" & leader=="Ruchet"
replace leadno=2522 if ccname=="Switzerland" & leader=="Forrer"
replace leadno=2523 if ccname=="Switzerland" & leader=="Muller"
replace leadno=2524 if ccname=="Switzerland" & leader=="Brenner"
replace leadno=2525 if ccname=="Switzerland" & leader=="Deucher"
replace leadno=2526 if ccname=="Switzerland" & leader=="Comtesse"
replace leadno=2527 if ccname=="Switzerland" & leader=="Ruchet"
replace leadno=2528 if ccname=="Switzerland" & leader=="Forrer"
replace leadno=2529 if ccname=="Switzerland" & leader=="Muller"
replace leadno=2530 if ccname=="Switzerland" & leader=="Hoffman"
replace leadno=2531 if ccname=="Switzerland" & leader=="Motta"
replace leadno=2532 if ccname=="Switzerland" & leader=="Decoppet"
replace leadno=2533 if ccname=="Switzerland" & leader=="Schulthess"
replace leadno=2534 if ccname=="Switzerland" & leader=="Calonder"
replace leadno=2535 if ccname=="Switzerland" & leader=="Ador"
replace leadno=2536 if ccname=="Switzerland" & leader=="Motta"
replace leadno=2537 if ccname=="Switzerland" & leader=="Schulthess"
replace leadno=2538 if ccname=="Switzerland" & leader=="Haab"
replace leadno=2539 if ccname=="Switzerland" & leader=="Scheurer"
replace leadno=2540 if ccname=="Switzerland" & leader=="Chuard"
replace leadno=2541 if ccname=="Switzerland" & leader=="Musy"
replace leadno=2542 if ccname=="Switzerland" & leader=="Haberlin"
replace leadno=2543 if ccname=="Switzerland" & leader=="Motta"
replace leadno=2544 if ccname=="Switzerland" & leader=="Schulthess"
replace leadno=2545 if ccname=="Switzerland" & leader=="Haab"
replace leadno=2546 if ccname=="Switzerland" & leader=="Musy"
replace leadno=2547 if ccname=="Switzerland" & leader=="Haberlin"
replace leadno=2548 if ccname=="Switzerland" & leader=="Motta"
replace leadno=2549 if ccname=="Switzerland" & leader=="Schulthess"
replace leadno=2550 if ccname=="Switzerland" & leader=="Golaz"
replace leadno=2551 if ccname=="Switzerland" & leader=="Minger"
replace leadno=2552 if ccname=="Switzerland" & leader=="Meyer"
replace leadno=2553 if ccname=="Switzerland" & leader=="Motta"
replace leadno=2554 if ccname=="Switzerland" & leader=="Baumann"
replace leadno=2555 if ccname=="Switzerland" & leader=="Etter"
replace leadno=2556 if ccname=="Switzerland" & leader=="Golaz"
replace leadno=2557 if ccname=="Switzerland" & leader=="Wetter"
replace leadno=2558 if ccname=="Switzerland" & leader=="Etter"
replace leadno=2559 if ccname=="Switzerland" & leader=="Celio"
replace leadno=2560 if ccname=="Switzerland" & leader=="Stampfli"
replace leadno=2561 if ccname=="Switzerland" & leader=="von Steiger"
replace leadno=2562 if ccname=="Switzerland" & leader=="Kobelt"
replace leadno=2563 if ccname=="Switzerland" & leader=="Etter"
replace leadno=2564 if ccname=="Switzerland" & leader=="Celio"
replace leadno=2565 if ccname=="Switzerland" & leader=="Nobs"
replace leadno=2566 if ccname=="Switzerland" & leader=="Petipierre"
replace leadno=2567 if ccname=="Switzerland" & leader=="von Steiger"
replace leadno=2568 if ccname=="Switzerland" & leader=="Kobelt"
replace leadno=2569 if ccname=="Switzerland" & leader=="Etter"
replace leadno=2570 if ccname=="Switzerland" & leader=="Rubattel"
replace leadno=2571 if ccname=="Switzerland" & leader=="Petipierre"
replace leadno=2572 if ccname=="Switzerland" & leader=="Feldmann"
replace leadno=2573 if ccname=="Switzerland" & leader=="Streuli"
replace leadno=2574 if ccname=="Switzerland" & leader=="Holenstein"
replace leadno=2575 if ccname=="Switzerland" & leader=="Chaudet"
replace leadno=2576 if ccname=="Switzerland" & leader=="Petipierre"
replace leadno=2577 if ccname=="Switzerland" & leader=="Friedrich"
replace leadno=2578 if ccname=="Switzerland" & leader=="Chaudet"
replace leadno=2579 if ccname=="Switzerland" & leader=="Spuhler"
replace leadno=2580 if ccname=="Switzerland" & leader=="von Moos"
replace leadno=2581 if ccname=="Switzerland" & leader=="Tschudi"
replace leadno=2582 if ccname=="Switzerland" & leader=="Schaffner"
replace leadno=2583 if ccname=="Switzerland" & leader=="Bonvin"
replace leadno=2584 if ccname=="Switzerland" & leader=="Spuhler"
replace leadno=2585 if ccname=="Switzerland" & leader=="von Moos"
replace leadno=2586 if ccname=="Switzerland" & leader=="Tschudi"
replace leadno=2587 if ccname=="Switzerland" & leader=="Gnagi"
replace leadno=2588 if ccname=="Switzerland" & leader=="Celio"
replace leadno=2589 if ccname=="Switzerland" & leader=="Bonvin"
replace leadno=2590 if ccname=="Switzerland" & leader=="Brugger"
replace leadno=2591 if ccname=="Switzerland" & leader=="Graber"
replace leadno=2592 if ccname=="Switzerland" & leader=="Gnagi"
replace leadno=2593 if ccname=="Switzerland" & leader=="Furgler"
replace leadno=2594 if ccname=="Switzerland" & leader=="Ritschard"
replace leadno=2595 if ccname=="Switzerland" & leader=="Hurlimann"
replace leadno=2596 if ccname=="Switzerland" & leader=="Chevallaz"
replace leadno=2597 if ccname=="Switzerland" & leader=="Furgler"
replace leadno=2598 if ccname=="Switzerland" & leader=="Honegger"
replace leadno=2599 if ccname=="Switzerland" & leader=="Aubert"
replace leadno=2600 if ccname=="Switzerland" & leader=="Schlumpf"
replace leadno=2601 if ccname=="Switzerland" & leader=="Furgler"
replace leadno=2602 if ccname=="Switzerland" & leader=="Egli"
replace leadno=2603 if ccname=="Switzerland" & leader=="Aubert"
replace leadno=2604 if ccname=="Switzerland" & leader=="Stich"
replace leadno=2605 if ccname=="Switzerland" & leader=="Delamuraz"
replace leadno=2606 if ccname=="Switzerland" & leader=="Koller"
replace leadno=2607 if ccname=="Switzerland" & leader=="Cotti"
replace leadno=2608 if ccname=="Switzerland" & leader=="Felber"
replace leadno=2609 if ccname=="Switzerland" & leader=="Ogi"
replace leadno=2610 if ccname=="Switzerland" & leader=="Stich"
replace leadno=2611 if ccname=="Switzerland" & leader=="Villiger"
replace leadno=2612 if ccname=="Switzerland" & leader=="Delamuraz"
replace leadno=2613 if ccname=="Switzerland" & leader=="Koller"
replace leadno=2614 if ccname=="Switzerland" & leader=="Cotti"
replace leadno=2615 if ccname=="Switzerland" & leader=="Dreifuss"
replace leadno=2616 if ccname=="Switzerland" & leader=="Ogi"
replace leadno=2617 if ccname=="Switzerland" & leader=="Leuenberger"
replace leadno=2618 if ccname=="Switzerland" & leader=="Villiger"
replace leadno=2619 if ccname=="Switzerland" & leader=="Pascal Couchepin"
replace leadno=2620 if ccname=="Switzerland" & leader=="Joseph Deiss"
replace leadno=2621 if ccname=="Syria" & leader=="Kuwatli"
replace leadno=2622 if ccname=="Syria" & leader=="Al-Zaim"
replace leadno=2623 if ccname=="Syria" & leader=="Hinnawi"
replace leadno=2624 if ccname=="Syria" & leader=="Shishakli"
replace leadno=2625 if ccname=="Syria" & leader=="Atassi, H."
replace leadno=2626 if ccname=="Syria" & leader=="Kuwatli"
replace leadno=2627 if ccname=="Syria" & leader=="Nasser (president of UAR)"
replace leadno=2628 if ccname=="Syria" & leader=="Al-kuzbari"
replace leadno=2629 if ccname=="Syria" & leader=="El-Kudsi"
replace leadno=2630 if ccname=="Syria" & leader=="Zahreddin"
replace leadno=2631 if ccname=="Syria" & leader=="El-Kudsi"
replace leadno=2632 if ccname=="Syria" & leader=="Atassi, L."
replace leadno=2633 if ccname=="Syria" & leader=="Al-Hafiz"
replace leadno=2634 if ccname=="Syria" & leader=="El-Atassi, N."
replace leadno=2635 if ccname=="Syria" & leader=="Al-Khatib"
replace leadno=2636 if ccname=="Syria" & leader=="Al-Assad H."
replace leadno=2637 if ccname=="Syria" & leader=="Bashar al-Assad"
replace leadno=2638 if ccname=="Taiwan" & leader=="Li Tsung-jen"
replace leadno=2639 if ccname=="Taiwan" & leader=="Chiang Kai-shek"
replace leadno=2640 if ccname=="Taiwan" & leader=="Yen Chia-Kan"
replace leadno=2641 if ccname=="Taiwan" & leader=="Chiang Ching-Kuo"
replace leadno=2642 if ccname=="Taiwan" & leader=="Lee Teng-Hui"
replace leadno=2643 if ccname=="Taiwan" & leader=="Chen Shui-bian"
replace leadno=2644 if ccname=="Tajikistan" & leader=="Kadreddin Aslonov"
replace leadno=2645 if ccname=="Tajikistan" & leader=="Nabiyev"
replace leadno=2646 if ccname=="Tajikistan" & leader=="Iskandrov"
replace leadno=2647 if ccname=="Tajikistan" & leader=="Rakhmonov"
replace leadno=2648 if ccname=="Tanzania" & leader=="Nyerere"
replace leadno=2649 if ccname=="Tanzania" & leader=="Mwinyi"
replace leadno=2650 if ccname=="Tanzania" & leader=="Mkapa"
replace leadno=2651 if ccname=="Thailand" & leader=="Rama V"
replace leadno=2652 if ccname=="Thailand" & leader=="Rama VI"
replace leadno=2653 if ccname=="Thailand" & leader=="Rama VII"
replace leadno=2654 if ccname=="Thailand" & leader=="Phraya Mano"
replace leadno=2655 if ccname=="Thailand" & leader=="Phahon"
replace leadno=2656 if ccname=="Thailand" & leader=="Plaek Pibulsongkram"
replace leadno=2657 if ccname=="Thailand" & leader=="Pridi Banomyong"
replace leadno=2658 if ccname=="Thailand" & leader=="Plaek Pibulsongkram"
replace leadno=2659 if ccname=="Thailand" & leader=="Pote Sarasin"
replace leadno=2660 if ccname=="Thailand" & leader=="Thanon Kittakachorn"
replace leadno=2661 if ccname=="Thailand" & leader=="Sarit"
replace leadno=2662 if ccname=="Thailand" & leader=="Thanon Kittakachorn"
replace leadno=2663 if ccname=="Thailand" & leader=="Sanya"
replace leadno=2664 if ccname=="Thailand" & leader=="Seni Pramoj"
replace leadno=2665 if ccname=="Thailand" & leader=="Kukrot Pramoj"
replace leadno=2666 if ccname=="Thailand" & leader=="Seni Pramoj"
replace leadno=2667 if ccname=="Thailand" & leader=="Sangad"
replace leadno=2668 if ccname=="Thailand" & leader=="Thanin Kraivichien"
replace leadno=2669 if ccname=="Thailand" & leader=="Sangad"
replace leadno=2670 if ccname=="Thailand" & leader=="Kriangsak"
replace leadno=2671 if ccname=="Thailand" & leader=="Prem"
replace leadno=2672 if ccname=="Thailand" & leader=="Choonhavan"
replace leadno=2673 if ccname=="Thailand" & leader=="Panyarachun"
replace leadno=2674 if ccname=="Thailand" & leader=="Kraprayoon"
replace leadno=2675 if ccname=="Thailand" & leader=="Panyarachun"
replace leadno=2676 if ccname=="Thailand" & leader=="Leekpai"
replace leadno=2677 if ccname=="Thailand" & leader=="Silpa-Archa"
replace leadno=2678 if ccname=="Thailand" & leader=="Chavalit Yongchaiyudh"
replace leadno=2679 if ccname=="Thailand" & leader=="Leekpai"
replace leadno=2680 if ccname=="Thailand" & leader=="Thaksin Shinawatra"
replace leadno=2681 if ccname=="Togo" & leader=="Olympio"
replace leadno=2682 if ccname=="Togo" & leader=="Grunitzky"
replace leadno=2683 if ccname=="Togo" & leader=="Dadjo"
replace leadno=2684 if ccname=="Togo" & leader=="Eyadema"
replace leadno=2685 if ccname=="Trinidad and Tobago" & leader=="Williams"
replace leadno=2686 if ccname=="Trinidad and Tobago" & leader=="Chambers"
replace leadno=2687 if ccname=="Trinidad and Tobago" & leader=="Robinson"
replace leadno=2688 if ccname=="Trinidad and Tobago" & leader=="Manning"
replace leadno=2689 if ccname=="Trinidad and Tobago" & leader=="Panday"
replace leadno=2690 if ccname=="Trinidad and Tobago" & leader=="Manning"
replace leadno=2691 if ccname=="Tunisia" & leader=="Muhammad III"
replace leadno=2692 if ccname=="Tunisia" & leader=="Muhammad al-Amin"
replace leadno=2693 if ccname=="Tunisia" & leader=="Ben Ali Bourguiba"
replace leadno=2694 if ccname=="Tunisia" & leader=="Zine Al-Abidine Ben Ali"
replace leadno=2695 if ccname=="Turkey" & leader=="Abdul Aziz"
replace leadno=2696 if ccname=="Turkey" & leader=="Murad V"
replace leadno=2697 if ccname=="Turkey" & leader=="Hamid II"
replace leadno=2698 if ccname=="Turkey" & leader=="Mahmud Sefket Pasha"
replace leadno=2699 if ccname=="Turkey" & leader=="Enver Pasha"
replace leadno=2700 if ccname=="Turkey" & leader=="Mehmet VI Vahidettin"
replace leadno=2701 if ccname=="Turkey" & leader=="Ataturk"
replace leadno=2702 if ccname=="Turkey" & leader=="Inonu"
replace leadno=2703 if ccname=="Turkey" & leader=="Menderes"
replace leadno=2704 if ccname=="Turkey" & leader=="Gursel"
replace leadno=2705 if ccname=="Turkey" & leader=="Inonu"
replace leadno=2706 if ccname=="Turkey" & leader=="Urguplu"
replace leadno=2707 if ccname=="Turkey" & leader=="Demirel"
replace leadno=2708 if ccname=="Turkey" & leader=="Erim"
replace leadno=2709 if ccname=="Turkey" & leader=="Melen"
replace leadno=2710 if ccname=="Turkey" & leader=="Talu"
replace leadno=2711 if ccname=="Turkey" & leader=="Ecevit"
replace leadno=2712 if ccname=="Turkey" & leader=="Irmak"
replace leadno=2713 if ccname=="Turkey" & leader=="Demirel"
replace leadno=2714 if ccname=="Turkey" & leader=="Ecevit"
replace leadno=2715 if ccname=="Turkey" & leader=="Demirel"
replace leadno=2716 if ccname=="Turkey" & leader=="Ecevit"
replace leadno=2717 if ccname=="Turkey" & leader=="Demirel"
replace leadno=2718 if ccname=="Turkey" & leader=="Evren"
replace leadno=2719 if ccname=="Turkey" & leader=="Ozal"
replace leadno=2720 if ccname=="Turkey" & leader=="Akbulut"
replace leadno=2721 if ccname=="Turkey" & leader=="Yilmaz"
replace leadno=2722 if ccname=="Turkey" & leader=="Demirel"
replace leadno=2723 if ccname=="Turkey" & leader=="Erdal Inonu"
replace leadno=2724 if ccname=="Turkey" & leader=="Ciller"
replace leadno=2725 if ccname=="Turkey" & leader=="Yilmaz"
replace leadno=2726 if ccname=="Turkey" & leader=="Erbakan"
replace leadno=2727 if ccname=="Turkey" & leader=="Yilmaz"
replace leadno=2728 if ccname=="Turkey" & leader=="Ecevit"
replace leadno=2729 if ccname=="Turkey" & leader=="Abdullah Gul"
replace leadno=2730 if ccname=="Turkey" & leader=="Erdogan"
replace leadno=2731 if ccname=="Turkmenistan" & leader=="Niyazov"
replace leadno=2732 if ccname=="Uganda" & leader=="Obote"
replace leadno=2733 if ccname=="Uganda" & leader=="Amin"
replace leadno=2734 if ccname=="Uganda" & leader=="Yusuf Lule"
replace leadno=2735 if ccname=="Uganda" & leader=="Banaisa"
replace leadno=2736 if ccname=="Uganda" & leader=="Paulo Muwanga"
replace leadno=2737 if ccname=="Uganda" & leader=="Obote"
replace leadno=2738 if ccname=="Uganda" & leader=="Okello"
replace leadno=2739 if ccname=="Uganda" & leader=="Museveni"
replace leadno=2740 if ccname=="Ukraine" & leader=="Kravchuk"
replace leadno=2741 if ccname=="Ukraine" & leader=="Kuchma"
replace leadno=2742 if ccname=="United Arab Emirates" & leader=="An-Nahayan"
replace leadno=2743 if ccname=="United Kingdom" & leader=="Disraeli"
replace leadno=2744 if ccname=="United Kingdom" & leader=="Gladstone"
replace leadno=2745 if ccname=="United Kingdom" & leader=="Salisbury"
replace leadno=2746 if ccname=="United Kingdom" & leader=="Gladstone"
replace leadno=2747 if ccname=="United Kingdom" & leader=="Salisbury"
replace leadno=2748 if ccname=="United Kingdom" & leader=="Gladstone"
replace leadno=2749 if ccname=="United Kingdom" & leader=="Rosebery"
replace leadno=2750 if ccname=="United Kingdom" & leader=="Salisbury"
replace leadno=2751 if ccname=="United Kingdom" & leader=="Balfour"
replace leadno=2752 if ccname=="United Kingdom" & leader=="Campbell-Bannerman"
replace leadno=2753 if ccname=="United Kingdom" & leader=="Asquith"
replace leadno=2754 if ccname=="United Kingdom" & leader=="Lloyd-George"
replace leadno=2755 if ccname=="United Kingdom" & leader=="Bonar Law"
replace leadno=2756 if ccname=="United Kingdom" & leader=="Baldwin"
replace leadno=2757 if ccname=="United Kingdom" & leader=="MacDonald"
replace leadno=2758 if ccname=="United Kingdom" & leader=="Baldwin"
replace leadno=2759 if ccname=="United Kingdom" & leader=="MacDonald"
replace leadno=2760 if ccname=="United Kingdom" & leader=="Baldwin"
replace leadno=2761 if ccname=="United Kingdom" & leader=="Chamberlin"
replace leadno=2762 if ccname=="United Kingdom" & leader=="Churchill"
replace leadno=2763 if ccname=="United Kingdom" & leader=="Atlee"
replace leadno=2764 if ccname=="United Kingdom" & leader=="Churchill"
replace leadno=2765 if ccname=="United Kingdom" & leader=="Eden"
replace leadno=2766 if ccname=="United Kingdom" & leader=="MacMillan"
replace leadno=2767 if ccname=="United Kingdom" & leader=="Douglas-Home"
replace leadno=2768 if ccname=="United Kingdom" & leader=="Wilson"
replace leadno=2769 if ccname=="United Kingdom" & leader=="Heath"
replace leadno=2770 if ccname=="United Kingdom" & leader=="Wilson"
replace leadno=2771 if ccname=="United Kingdom" & leader=="Callaghan"
replace leadno=2772 if ccname=="United Kingdom" & leader=="Thatcher"
replace leadno=2773 if ccname=="United Kingdom" & leader=="Major"
replace leadno=2774 if ccname=="United Kingdom" & leader=="Blair"
replace leadno=2775 if ccname=="United States" & leader=="Grant"
replace leadno=2776 if ccname=="United States" & leader=="Hayes"
replace leadno=2777 if ccname=="United States" & leader=="Garfield"
replace leadno=2778 if ccname=="United States" & leader=="Arthur"
replace leadno=2779 if ccname=="United States" & leader=="Cleveland"
replace leadno=2780 if ccname=="United States" & leader=="Harrison"
replace leadno=2781 if ccname=="United States" & leader=="Cleveland"
replace leadno=2782 if ccname=="United States" & leader=="McKinley"
replace leadno=2783 if ccname=="United States" & leader=="Roosevelt, T."
replace leadno=2784 if ccname=="United States" & leader=="Taft"
replace leadno=2785 if ccname=="United States" & leader=="Wilson"
replace leadno=2786 if ccname=="United States" & leader=="Harding"
replace leadno=2787 if ccname=="United States" & leader=="Coolidge"
replace leadno=2788 if ccname=="United States" & leader=="Hoover"
replace leadno=2789 if ccname=="United States" & leader=="Roosevelt, F."
replace leadno=2790 if ccname=="United States" & leader=="Truman"
replace leadno=2791 if ccname=="United States" & leader=="Eisenhower"
replace leadno=2792 if ccname=="United States" & leader=="Kennedy"
replace leadno=2793 if ccname=="United States" & leader=="Johnson"
replace leadno=2794 if ccname=="United States" & leader=="Nixon"
replace leadno=2795 if ccname=="United States" & leader=="Ford"
replace leadno=2796 if ccname=="United States" & leader=="Carter"
replace leadno=2797 if ccname=="United States" & leader=="Reagan"
replace leadno=2798 if ccname=="United States" & leader=="Bush"
replace leadno=2799 if ccname=="United States" & leader=="Clinton"
replace leadno=2800 if ccname=="United States" & leader=="G.W. Bush"
replace leadno=2801 if ccname=="Uruguay" & leader=="Jose Eugenio Ellauri"
replace leadno=2802 if ccname=="Uruguay" & leader=="Pedro Varela Olivera"
replace leadno=2803 if ccname=="Uruguay" & leader=="Lorenzo Latorre"
replace leadno=2804 if ccname=="Uruguay" & leader=="Francisco Antonino Vidal"
replace leadno=2805 if ccname=="Uruguay" & leader=="Lorenzo Latorre"
replace leadno=2806 if ccname=="Uruguay" & leader=="Francisco Antonino Vidal"
replace leadno=2807 if ccname=="Uruguay" & leader=="Maximo Santos"
replace leadno=2808 if ccname=="Uruguay" & leader=="Francisco Antonino Vidal"
replace leadno=2809 if ccname=="Uruguay" & leader=="Maximo Santos"
replace leadno=2810 if ccname=="Uruguay" & leader=="Maximo Tajes"
replace leadno=2811 if ccname=="Uruguay" & leader=="Julio Herrera y Obes"
replace leadno=2812 if ccname=="Uruguay" & leader=="Juan Idiarte Borda"
replace leadno=2813 if ccname=="Uruguay" & leader=="Juan Lindolfo Cuestas"
replace leadno=2814 if ccname=="Uruguay" & leader=="Jose Batlle y Ordonez"
replace leadno=2815 if ccname=="Uruguay" & leader=="Claudio Williman"
replace leadno=2816 if ccname=="Uruguay" & leader=="Jose Batlle y Ordonez"
replace leadno=2817 if ccname=="Uruguay" & leader=="Feliciano Viera"
replace leadno=2818 if ccname=="Uruguay" & leader=="Baltasar Brum"
replace leadno=2819 if ccname=="Uruguay" & leader=="Serrato"
replace leadno=2820 if ccname=="Uruguay" & leader=="Campisteguy"
replace leadno=2821 if ccname=="Uruguay" & leader=="Terra"
replace leadno=2822 if ccname=="Uruguay" & leader=="Baldomir"
replace leadno=2823 if ccname=="Uruguay" & leader=="Amezaga"
replace leadno=2824 if ccname=="Uruguay" & leader=="Berreta"
replace leadno=2825 if ccname=="Uruguay" & leader=="Batlle Berres"
replace leadno=2826 if ccname=="Uruguay" & leader=="Martinez Trueba"
replace leadno=2827 if ccname=="Uruguay" & leader=="Batlle Berres"
replace leadno=2828 if ccname=="Uruguay" & leader=="Zubiria"
replace leadno=2829 if ccname=="Uruguay" & leader=="Lezama"
replace leadno=2830 if ccname=="Uruguay" & leader=="Fisher"
replace leadno=2831 if ccname=="Uruguay" & leader=="Echegoyen"
replace leadno=2832 if ccname=="Uruguay" & leader=="Nardone"
replace leadno=2833 if ccname=="Uruguay" & leader=="Haedo"
replace leadno=2834 if ccname=="Uruguay" & leader=="Harrison"
replace leadno=2835 if ccname=="Uruguay" & leader=="Crespo"
replace leadno=2836 if ccname=="Uruguay" & leader=="Giannattasio"
replace leadno=2837 if ccname=="Uruguay" & leader=="Beltran"
replace leadno=2838 if ccname=="Uruguay" & leader=="Heber Usher"
replace leadno=2839 if ccname=="Uruguay" & leader=="Gestido"
replace leadno=2840 if ccname=="Uruguay" & leader=="Pacheco Areco"
replace leadno=2841 if ccname=="Uruguay" & leader=="Bordaberry"
replace leadno=2842 if ccname=="Uruguay" & leader=="Demichelli"
replace leadno=2843 if ccname=="Uruguay" & leader=="Mendez Manfredini"
replace leadno=2844 if ccname=="Uruguay" & leader=="Alvarez Armalino"
replace leadno=2845 if ccname=="Uruguay" & leader=="Sanguinetti"
replace leadno=2846 if ccname=="Uruguay" & leader=="Lacalle de Herrera"
replace leadno=2847 if ccname=="Uruguay" & leader=="Sanguinetti"
replace leadno=2848 if ccname=="Uruguay" & leader=="Jorge Batlle"
replace leadno=2849 if ccname=="Uzbekistan" & leader=="Karimov"
replace leadno=2850 if ccname=="Venezuela" & leader=="Guzman Blanco"
replace leadno=2851 if ccname=="Venezuela" & leader=="Jacinto Guitierrez Martinez de Aleman"
replace leadno=2852 if ccname=="Venezuela" & leader=="Linares Alcantara"
replace leadno=2853 if ccname=="Venezuela" & leader=="Jacinto Guitierrez Martinez de Aleman"
replace leadno=2854 if ccname=="Venezuela" & leader=="Guzman Blanco"
replace leadno=2855 if ccname=="Venezuela" & leader=="Joaquin Crespo"
replace leadno=2856 if ccname=="Venezuela" & leader=="Antonio Diez"
replace leadno=2857 if ccname=="Venezuela" & leader=="Guzman Blanco"
replace leadno=2858 if ccname=="Venezuela" & leader=="Lopez"
replace leadno=2859 if ccname=="Venezuela" & leader=="Rojas Paul"
replace leadno=2860 if ccname=="Venezuela" & leader=="Palacio"
replace leadno=2861 if ccname=="Venezuela" & leader=="Tell Villegas"
replace leadno=2862 if ccname=="Venezuela" & leader=="Tell Villegas Pulido"
replace leadno=2863 if ccname=="Venezuela" & leader=="Joaquin Crespo"
replace leadno=2864 if ccname=="Venezuela" & leader=="Guzman Alvarez"
replace leadno=2865 if ccname=="Venezuela" & leader=="Joaquin Crespo"
replace leadno=2866 if ccname=="Venezuela" & leader=="Guzman Alvarez"
replace leadno=2867 if ccname=="Venezuela" & leader=="Andrade"
replace leadno=2868 if ccname=="Venezuela" & leader=="Cipriano Castro"
replace leadno=2869 if ccname=="Venezuela" & leader=="Gomez"
replace leadno=2870 if ccname=="Venezuela" & leader=="Lopez Contreras"
replace leadno=2871 if ccname=="Venezuela" & leader=="Medina Angarita"
replace leadno=2872 if ccname=="Venezuela" & leader=="Betancourt"
replace leadno=2873 if ccname=="Venezuela" & leader=="Gallegos"
replace leadno=2874 if ccname=="Venezuela" & leader=="Delgado Chalbaud"
replace leadno=2875 if ccname=="Venezuela" & leader=="Perez Jimenez"
replace leadno=2876 if ccname=="Venezuela" & leader=="Larrazabal"
replace leadno=2877 if ccname=="Venezuela" & leader=="Sanabria"
replace leadno=2878 if ccname=="Venezuela" & leader=="Betancourt"
replace leadno=2879 if ccname=="Venezuela" & leader=="Leoni"
replace leadno=2880 if ccname=="Venezuela" & leader=="Caldera Rodriguez"
replace leadno=2881 if ccname=="Venezuela" & leader=="Andres Perez"
replace leadno=2882 if ccname=="Venezuela" & leader=="Campins"
replace leadno=2883 if ccname=="Venezuela" & leader=="Lusinchi"
replace leadno=2884 if ccname=="Venezuela" & leader=="Andres Perez"
replace leadno=2885 if ccname=="Venezuela" & leader=="Velasquez"
replace leadno=2886 if ccname=="Venezuela" & leader=="Caldera Rodriguez"
replace leadno=2887 if ccname=="Venezuela" & leader=="Hugo Chavez"
replace leadno=2888 if ccname=="Vietnam" & leader=="Tu Duc"
replace leadno=2889 if ccname=="Vietnam" & leader=="Duc Duc"
replace leadno=2890 if ccname=="Vietnam" & leader=="Hiep Hoa"
replace leadno=2891 if ccname=="Vietnam" & leader=="Regency"
replace leadno=2892 if ccname=="Vietnam" & leader=="Dong Khanh"
replace leadno=2893 if ccname=="Vietnam" & leader=="Thanh Thai"
replace leadno=2894 if ccname=="Vietnam" & leader=="Ho Chi Minh"
replace leadno=2895 if ccname=="Vietnam" & leader=="Le Duan"
replace leadno=2896 if ccname=="Vietnam" & leader=="Truong Chinh"
replace leadno=2897 if ccname=="Vietnam" & leader=="Nguyen Van Linh"
replace leadno=2898 if ccname=="Vietnam" & leader=="Do Muoi"
replace leadno=2899 if ccname=="Vietnam" & leader=="Phieu"
replace leadno=2900 if ccname=="Vietnam" & leader=="Nong Duc Manh"
replace leadno=2901 if ccname=="Yemen Arab Republic" & leader=="Yahya"
replace leadno=2902 if ccname=="Yemen Arab Republic" & leader=="Ibn Ahmed Alwazir"
replace leadno=2903 if ccname=="Yemen Arab Republic" & leader=="Ibn Yahya Hamid"
replace leadno=2904 if ccname=="Yemen Arab Republic" & leader=="Al-Badr"
replace leadno=2905 if ccname=="Yemen Arab Republic" & leader=="AL-Sallal"
replace leadno=2906 if ccname=="Yemen Arab Republic" & leader=="Al-Iryani"
replace leadno=2907 if ccname=="Yemen Arab Republic" & leader=="Al-Hamadi"
replace leadno=2908 if ccname=="Yemen Arab Republic" & leader=="Al-Ghashmi"
replace leadno=2909 if ccname=="Yemen Arab Republic" & leader=="Saleh al-Hashidi"
replace leadno=2910 if ccname=="Yemen People's Republic" & leader=="Al-Shaabi"
replace leadno=2911 if ccname=="Yemen People's Republic" & leader=="Ali Rubayyi"
replace leadno=2912 if ccname=="Yemen People's Republic" & leader=="Ali Nassir Hassani"
replace leadno=2913 if ccname=="Yemen People's Republic" & leader=="Ismail"
replace leadno=2914 if ccname=="Yemen People's Republic" & leader=="Ali Nassir Hassani"
replace leadno=2915 if ccname=="Yemen People's Republic" & leader=="Attas"
replace leadno=2916 if ccname=="Yugoslavia" & leader=="Alexander"
replace leadno=2917 if ccname=="Yugoslavia" & leader=="Prince Paul"
replace leadno=2918 if ccname=="Yugoslavia" & leader=="Peter II"
replace leadno=2919 if ccname=="Yugoslavia" & leader=="Tito"
replace leadno=2920 if ccname=="Yugoslavia" & leader=="Kolisevski"
replace leadno=2921 if ccname=="Yugoslavia" & leader=="Mijatovic"
replace leadno=2922 if ccname=="Yugoslavia" & leader=="Kraigher"
replace leadno=2923 if ccname=="Yugoslavia" & leader=="Stambolic"
replace leadno=2924 if ccname=="Yugoslavia" & leader=="Spiljac"
replace leadno=2925 if ccname=="Yugoslavia" & leader=="Djuranovic"
replace leadno=2926 if ccname=="Yugoslavia" & leader=="Vlajkovic"
replace leadno=2927 if ccname=="Yugoslavia" & leader=="Hasani"
replace leadno=2928 if ccname=="Yugoslavia" & leader=="Mojsov"
replace leadno=2929 if ccname=="Yugoslavia" & leader=="Dizarevic"
replace leadno=2930 if ccname=="Yugoslavia" & leader=="Milosevic"
replace leadno=2931 if ccname=="Yugoslavia" & leader=="Kostunica"
replace leadno=2932 if ccname=="Zambia" & leader=="Kaunda"
replace leadno=2933 if ccname=="Zambia" & leader=="Chiluba"
replace leadno=2934 if ccname=="Zambia" & leader=="Levy Mwanawasa"
replace leadno=2935 if ccname=="Zimbabwe" & leader=="Smith"
replace leadno=2936 if ccname=="Zimbabwe" & leader=="Muzorewa"
replace leadno=2937 if ccname=="Zimbabwe" & leader=="Mugabe"
save "C:\Democracy\revision dec 2011\leader.dta", replace

replace exit_tv = 0 if exit_tv==-888
replace exit = 0 if exit_tv==-888
sort ccode eindate year
sort leadid year
by leadid: egen minyear=min(year)
keep if minyear==year
save "C:\Democracy\revision dec 2011\leader.dta", replace

*Besley & Reynal education of leaders data*
use "C:\Democracy\EDUCATION_APSR2011_BESLEY_REYNALQUEROL_BYLEADER.dta", clear
save "C:\Democracy\edreynal work1.dta", replace
sort leader
*have to drop the second William Palmer & one Milner*
by leader: gen dup = cond(_N==1,0,_n)
drop if dup>1
sort leader
replace country = "Congo" if country=="Congo, Rep."
replace country = "Democratic Republic of Congo" if country=="Congo, Dem. Rep."
replace country = "Gambia" if country=="Gambia, The"
replace country = "South Korea" if country=="Korea, Rep."
replace country = "North Korea" if country=="Korea, Dem. Rep."
replace country = "Kyrgyz Republic" if country=="Kyrgyzstan"
replace country = "Yemen Arab Republic" if country=="Yemen"
replace leader = "Francis Joseph I" if leader=="Franz Joseph"
replace leader = "Karl" if leader=="Karl I"
replace leader = "Ferdinand I" if leader=="Ferdinand"
replace leader="Gomez" if leader=="Gomez JM"
replace leader="Klaus" if leader=="V. Klaus"
replace leader="Guzman Fernandez" if leader=="Fernandez"
replace leader="Castro" if leader=="Castro Jijon, Ramon"
replace leader="Gonzalez" if leader=="Gonzalez Portillo"
replace leader="Flores" if leader=="Flores, Francisco"
replace leader="Castro" if leader=="Melgar Castro, Juan Alberto"

gen leadno=.
replace leadno=1 if country=="Afghanistan" & leader=="Shir `Ali Khan"
replace leadno=2 if country=="Afghanistan" & leader=="Mohammad Ya`qub Khan"
replace leadno=3 if country=="Afghanistan" & leader=="Mohammad Jan"
replace leadno=4 if country=="Afghanistan" & leader=="Abdor Rahman Khan"
replace leadno=5 if country=="Afghanistan" & leader=="Habibullah Khan"
replace leadno=6 if country=="Afghanistan" & leader=="Amanullah Khan"
replace leadno=7 if country=="Afghanistan" & leader=="Inayatullah Khan"
replace leadno=8 if country=="Afghanistan" & leader=="Habibullah Ghazi"
replace leadno=9 if country=="Afghanistan" & leader=="Nadir Shah"
replace leadno=10 if country=="Afghanistan" & leader=="Hashim Khan"
replace leadno=11 if country=="Afghanistan" & leader=="Mahmud Khan Ghazi"
replace leadno=12 if country=="Afghanistan" & leader=="Sardar Mohammad Daud Khan"
replace leadno=13 if country=="Afghanistan" & leader=="Mohammad Yusuf"
replace leadno=14 if country=="Afghanistan" & leader=="Mohammad Hashim Maiwandwal"
replace leadno=15 if country=="Afghanistan" & leader=="Abdallah Yakta"
replace leadno=16 if country=="Afghanistan" & leader=="Nur Ahmad Etemadi"
replace leadno=17 if country=="Afghanistan" & leader=="Abdul Zahir"
replace leadno=18 if country=="Afghanistan" & leader=="Mohammad Musa Shafiq"
replace leadno=19 if country=="Afghanistan" & leader=="Sardar Mohammad Daud Khan"
replace leadno=20 if country=="Afghanistan" & leader=="Taraki"
replace leadno=21 if country=="Afghanistan" & leader=="Amin"
replace leadno=22 if country=="Afghanistan" & leader=="Karmal"
replace leadno=23 if country=="Afghanistan" & leader=="Najibullah"
replace leadno=24 if country=="Afghanistan" & leader=="Mojadidi"
replace leadno=25 if country=="Afghanistan" & leader=="Burhanuddin Rabbani"
replace leadno=26 if country=="Afghanistan" & leader=="Mullah Omar"
replace leadno=27 if country=="Afghanistan" & leader=="Hamid Karzai"
replace leadno=28 if country=="Albania" & leader=="Ismail Qemali Bej"
replace leadno=29 if country=="Albania" & leader=="Fevzi Bej"
replace leadno=30 if country=="Albania" & leader=="Wilhelm zu Wied"
replace leadno=31 if country=="Albania" & leader=="Esat Pashe Toptani"
replace leadno=32 if country=="Albania" & leader=="Turkhan Pasha"
replace leadno=33 if country=="Albania" & leader=="Delvina"
replace leadno=34 if country=="Albania" & leader=="Vrioni"
replace leadno=35 if country=="Albania" & leader=="Evangeli"
replace leadno=36 if country=="Albania" & leader=="Prishtina"
replace leadno=37 if country=="Albania" & leader=="Idomeni Kosturis"
replace leadno=38 if country=="Albania" & leader=="Djafer Ypi"
replace leadno=39 if country=="Albania" & leader=="Zogu"
replace leadno=40 if country=="Albania" & leader=="Verlaci"
replace leadno=41 if country=="Albania" & leader=="Vrioni"
replace leadno=42 if country=="Albania" & leader=="Fan S. Noli"
replace leadno=43 if country=="Albania" & leader=="Vrioni"
replace leadno=44 if country=="Albania" & leader=="Zogu"
replace leadno=45 if country=="Albania" & leader=="Hoxha"
replace leadno=46 if country=="Albania" & leader=="Alia"
replace leadno=47 if country=="Albania" & leader=="Berisha"
replace leadno=48 if country=="Albania" & leader=="Fatos Nano"
replace leadno=49 if country=="Albania" & leader=="Majko"
replace leadno=50 if country=="Albania" & leader=="Meta"
replace leadno=51 if country=="Albania" & leader=="Majko"
replace leadno=52 if country=="Albania" & leader=="Fatos Nano"
replace leadno=53 if country=="Algeria" & leader=="Ben Khedda"
replace leadno=54 if country=="Algeria" & leader=="Bella"
replace leadno=55 if country=="Algeria" & leader=="Boumedienne"
replace leadno=56 if country=="Algeria" & leader=="Bitat"
replace leadno=57 if country=="Algeria" & leader=="Benjedid"
replace leadno=58 if country=="Algeria" & leader=="Boudiaf"
replace leadno=59 if country=="Algeria" & leader=="Kafi"
replace leadno=60 if country=="Algeria" & leader=="Zeroual"
replace leadno=61 if country=="Algeria" & leader=="Bouteflika"
replace leadno=62 if country=="Angola" & leader=="Neto"
replace leadno=63 if country=="Angola" & leader=="Dos Santos"
replace leadno=64 if country=="Argentina" & leader=="Avellanda"
replace leadno=65 if country=="Argentina" & leader=="Roca"
replace leadno=66 if country=="Argentina" & leader=="Celman"
replace leadno=67 if country=="Argentina" & leader=="Pellegrini"
replace leadno=68 if country=="Argentina" & leader=="L.S. Pena"
replace leadno=69 if country=="Argentina" & leader=="J. Evaristo Uriburu"
replace leadno=70 if country=="Argentina" & leader=="Roca"
replace leadno=71 if country=="Argentina" & leader=="Quintana"
replace leadno=72 if country=="Argentina" & leader=="Alcorta"
replace leadno=73 if country=="Argentina" & leader=="R.S. Pena"
replace leadno=74 if country=="Argentina" & leader=="de la Plaza"
replace leadno=75 if country=="Argentina" & leader=="Irigoyen"
replace leadno=76 if country=="Argentina" & leader=="de Alvear"
replace leadno=77 if country=="Argentina" & leader=="Irigoyen"
replace leadno=78 if country=="Argentina" & leader=="J. Felix Uriburu"
replace leadno=79 if country=="Argentina" & leader=="Justo"
replace leadno=80 if country=="Argentina" & leader=="Ortiz"
replace leadno=81 if country=="Argentina" & leader=="Castillo"
replace leadno=82 if country=="Argentina" & leader=="Rawson"
replace leadno=83 if country=="Argentina" & leader=="Ramirez"
replace leadno=84 if country=="Argentina" & leader=="Farrell"
replace leadno=85 if country=="Argentina" & leader=="Peron"
replace leadno=86 if country=="Argentina" & leader=="Lonardi"
replace leadno=87 if country=="Argentina" & leader=="Aramburu"
replace leadno=88 if country=="Argentina" & leader=="Frondizi"
replace leadno=89 if country=="Argentina" & leader=="Guido"
replace leadno=90 if country=="Argentina" & leader=="Arturo Illia"
replace leadno=91 if country=="Argentina" & leader=="Ongania"
replace leadno=92 if country=="Argentina" & leader=="Lanusse"
replace leadno=93 if country=="Argentina" & leader=="Levingston"
replace leadno=94 if country=="Argentina" & leader=="Lanusse"
replace leadno=95 if country=="Argentina" & leader=="Campora"
replace leadno=96 if country=="Argentina" & leader=="Lastiri"
replace leadno=97 if country=="Argentina" & leader=="Peron"
replace leadno=98 if country=="Argentina" & leader=="Peron, Isabel"
replace leadno=99 if country=="Argentina" & leader=="Videla"
replace leadno=100 if country=="Argentina" & leader=="Viola"
replace leadno=101 if country=="Argentina" & leader=="Liendo"
replace leadno=102 if country=="Argentina" & leader=="Galtieri"
replace leadno=103 if country=="Argentina" & leader=="Saint-Jean"
replace leadno=104 if country=="Argentina" & leader=="Bignone"
replace leadno=105 if country=="Argentina" & leader=="Alfonsin"
replace leadno=106 if country=="Argentina" & leader=="Menem"
replace leadno=107 if country=="Argentina" & leader=="de la Rua"
replace leadno=108 if country=="Argentina" & leader=="Ramon Puerta"
replace leadno=109 if country=="Argentina" & leader=="Adolfo Rodriguez Saa"
replace leadno=110 if country=="Argentina" & leader=="Eduardo Duhalde"
replace leadno=111 if country=="Argentina" & leader=="Nestor Kirchner"
replace leadno=112 if country=="Armenia" & leader=="Ter-Petrosyan"
replace leadno=113 if country=="Armenia" & leader=="Kocharian"
replace leadno=114 if country=="Australia" & leader=="Edmund Barton"
replace leadno=115 if country=="Australia" & leader=="Alfred Deakin"
replace leadno=116 if country=="Australia" & leader=="John Christian Watson"
replace leadno=117 if country=="Australia" & leader=="George Reid"
replace leadno=118 if country=="Australia" & leader=="Alfred Deakin"
replace leadno=119 if country=="Australia" & leader=="Andrew Fisher"
replace leadno=120 if country=="Australia" & leader=="Alfred Deakin"
replace leadno=121 if country=="Australia" & leader=="Andrew Fisher"
replace leadno=122 if country=="Australia" & leader=="Joseph Cook"
replace leadno=123 if country=="Australia" & leader=="Andrew Fisher"
replace leadno=124 if country=="Australia" & leader=="Hughes"
replace leadno=125 if country=="Australia" & leader=="Bruce"
replace leadno=126 if country=="Australia" & leader=="Scullin"
replace leadno=127 if country=="Australia" & leader=="Lyons"
replace leadno=128 if country=="Australia" & leader=="Page"
replace leadno=129 if country=="Australia" & leader=="Menzies"
replace leadno=130 if country=="Australia" & leader=="Fadden"
replace leadno=131 if country=="Australia" & leader=="Curtin"
replace leadno=132 if country=="Australia" & leader=="Forde"
replace leadno=133 if country=="Australia" & leader=="Chifley"
replace leadno=134 if country=="Australia" & leader=="Menzies"
replace leadno=135 if country=="Australia" & leader=="Holt"
replace leadno=136 if country=="Australia" & leader=="McEwen"
replace leadno=137 if country=="Australia" & leader=="Gorton"
replace leadno=138 if country=="Australia" & leader=="McMahon"
replace leadno=139 if country=="Australia" & leader=="Whitlam"
replace leadno=140 if country=="Australia" & leader=="Fraser"
replace leadno=141 if country=="Australia" & leader=="Hawke"
replace leadno=142 if country=="Australia" & leader=="Keating"
replace leadno=143 if country=="Australia" & leader=="Howard"
replace leadno=144 if country=="Austria" & leader=="Renner"
replace leadno=145 if country=="Austria" & leader=="Mayr"
replace leadno=146 if country=="Austria" & leader=="Schober"
replace leadno=147 if country=="Austria" & leader=="Seipel"
replace leadno=148 if country=="Austria" & leader=="Ramek"
replace leadno=149 if country=="Austria" & leader=="Seipel"
replace leadno=150 if country=="Austria" & leader=="Streeruwitz"
replace leadno=151 if country=="Austria" & leader=="Schober"
replace leadno=152 if country=="Austria" & leader=="Vaugoin"
replace leadno=153 if country=="Austria" & leader=="Ender"
replace leadno=154 if country=="Austria" & leader=="Buresch"
replace leadno=155 if country=="Austria" & leader=="Dollfuss"
replace leadno=156 if country=="Austria" & leader=="Schuschnigg"
replace leadno=157 if country=="Austria" & leader=="Seyss-Inquart"
replace leadno=158 if country=="Austria" & leader=="Renner"
replace leadno=159 if country=="Austria" & leader=="Figl"
replace leadno=160 if country=="Austria" & leader=="Raab"
replace leadno=161 if country=="Austria" & leader=="Gorbach"
replace leadno=162 if country=="Austria" & leader=="Klaus"
replace leadno=163 if country=="Austria" & leader=="Kreisky"
replace leadno=164 if country=="Austria" & leader=="Sinowatz"
replace leadno=165 if country=="Austria" & leader=="Vranitzky"
replace leadno=166 if country=="Austria" & leader=="Klima"
replace leadno=167 if country=="Austria" & leader=="Schussel"
replace leadno=168 if country=="Austria" & leader=="Francis Joseph I"
replace leadno=169 if country=="Austria" & leader=="Karl"
replace leadno=170 if country=="Azerbaijan" & leader=="Mutalibov"
replace leadno=171 if country=="Azerbaijan" & leader=="Mamedov"
replace leadno=172 if country=="Azerbaijan" & leader=="Mutalibov"
replace leadno=173 if country=="Azerbaijan" & leader=="Gambarov"
replace leadno=174 if country=="Azerbaijan" & leader=="Abulfaz Elchibey"
replace leadno=175 if country=="Azerbaijan" & leader=="H. Aliyev"
replace leadno=176 if country=="Azerbaijan" & leader=="Ilhma Aliyev"
replace leadno=177 if country=="Bahrain" & leader=="Isa Ibn Al-Khalifah"
replace leadno=178 if country=="Bahrain" & leader=="Hamad Isa Ibn Al-Khalifah"
replace leadno=179 if country=="Bangladesh" & leader=="Syed Nazrul Islam"
replace leadno=180 if country=="Bangladesh" & leader=="Sheikh Mujib Rahman"
replace leadno=181 if country=="Bangladesh" & leader=="Moshtaque Ahmed"
replace leadno=182 if country=="Bangladesh" & leader=="Ziaur Rahman"
replace leadno=183 if country=="Bangladesh" & leader=="Sattar"
replace leadno=184 if country=="Bangladesh" & leader=="Ershad"
replace leadno=185 if country=="Bangladesh" & leader=="Ahmed"
replace leadno=186 if country=="Bangladesh" & leader=="Khaleda Zia"
replace leadno=187 if country=="Bangladesh" & leader=="Mohammad Habibur Rahman"
replace leadno=188 if country=="Bangladesh" & leader=="Hasina Wazed"
replace leadno=189 if country=="Bangladesh" & leader=="Latifur Rahman"
replace leadno=190 if country=="Bangladesh" & leader=="Khaleda Zia"
replace leadno=191 if country=="Bavaria" & leader=="Ludwig II"
replace leadno=192 if country=="Belarus" & leader=="Shushkevich"
replace leadno=193 if country=="Belarus" & leader=="Kuznyatsu"
replace leadno=194 if country=="Belarus" & leader=="Hryb"
replace leadno=195 if country=="Belarus" & leader=="Lukashenko"
replace leadno=196 if country=="Belgium" & leader=="Jules Malou"
replace leadno=197 if country=="Belgium" & leader=="Walthere Frere-Orban"
replace leadno=198 if country=="Belgium" & leader=="Jules Malou"
replace leadno=199 if country=="Belgium" & leader=="Auguste Marie Franaois Beernaert"
replace leadno=200 if country=="Belgium" & leader=="Jules Philippe Marie de Burlet"
replace leadno=201 if country=="Belgium" & leader=="Paul de Smet de Nayer"
replace leadno=202 if country=="Belgium" & leader=="Julius Vandenpeereboom"
replace leadno=203 if country=="Belgium" & leader=="Paul de Smet de Nayer"
replace leadno=204 if country=="Belgium" & leader=="Jules de Trooz"
replace leadno=205 if country=="Belgium" & leader=="Frans Schollaert"
replace leadno=206 if country=="Belgium" & leader=="Charles, baron de Broqueville"
replace leadno=207 if country=="Belgium" & leader=="Von der Golt"
replace leadno=208 if country=="Belgium" & leader=="Von Bissing"
replace leadno=209 if country=="Belgium" & leader=="Von Falkenhausen"
replace leadno=210 if country=="Belgium" & leader=="Geraard Cooreman"
replace leadno=211 if country=="Belgium" & leader=="Delacroix"
replace leadno=212 if country=="Belgium" & leader=="de Wiart"
replace leadno=213 if country=="Belgium" & leader=="Theunis"
replace leadno=214 if country=="Belgium" & leader=="van der Vyvere"
replace leadno=215 if country=="Belgium" & leader=="Poullet"
replace leadno=216 if country=="Belgium" & leader=="Jasper"
replace leadno=217 if country=="Belgium" & leader=="Renkin"
replace leadno=218 if country=="Belgium" & leader=="Charles, baron de Broqueville"
replace leadno=219 if country=="Belgium" & leader=="Theunis"
replace leadno=220 if country=="Belgium" & leader=="van ZeeLand"
replace leadno=221 if country=="Belgium" & leader=="Janson"
replace leadno=222 if country=="Belgium" & leader=="Spaak"
replace leadno=223 if country=="Belgium" & leader=="Pierlot"
replace leadno=224 if country=="Belgium" & leader=="Pierlot"
replace leadno=225 if country=="Belgium" & leader=="van Acker"
replace leadno=226 if country=="Belgium" & leader=="Spaak"
replace leadno=227 if country=="Belgium" & leader=="van Acker"
replace leadno=228 if country=="Belgium" & leader=="Huysman"
replace leadno=229 if country=="Belgium" & leader=="Spaak"
replace leadno=230 if country=="Belgium" & leader=="Eyskens, G."
replace leadno=231 if country=="Belgium" & leader=="Duvieusart"
replace leadno=232 if country=="Belgium" & leader=="Pholien"
replace leadno=233 if country=="Belgium" & leader=="van Houtte"
replace leadno=234 if country=="Belgium" & leader=="van Acker"
replace leadno=235 if country=="Belgium" & leader=="Eyskens, G."
replace leadno=236 if country=="Belgium" & leader=="Lefevre"
replace leadno=237 if country=="Belgium" & leader=="Harmel"
replace leadno=238 if country=="Belgium" & leader=="Vanden Boeynants"
replace leadno=239 if country=="Belgium" & leader=="Eyskens, G."
replace leadno=240 if country=="Belgium" & leader=="Leburton"
replace leadno=241 if country=="Belgium" & leader=="Tindemans"
replace leadno=242 if country=="Belgium" & leader=="Vanden Boeynants"
replace leadno=243 if country=="Belgium" & leader=="Martens"
replace leadno=244 if country=="Belgium" & leader=="Eyskens, M."
replace leadno=245 if country=="Belgium" & leader=="Martens"
replace leadno=246 if country=="Belgium" & leader=="Dehaene"
replace leadno=247 if country=="Belgium" & leader=="Verhofstadt"
replace leadno=248 if country=="Benin" & leader=="Maga"
replace leadno=249 if country=="Benin" & leader=="Soglo"
replace leadno=250 if country=="Benin" & leader=="Apithy"
replace leadno=251 if country=="Benin" & leader=="Congacou"
replace leadno=252 if country=="Benin" & leader=="Soglo"
replace leadno=253 if country=="Benin" & leader=="Alley"
replace leadno=254 if country=="Benin" & leader=="Zinsou"
replace leadno=255 if country=="Benin" & leader=="Kouandete"
replace leadno=256 if country=="Benin" & leader=="Paul-Emile de Souza"
replace leadno=257 if country=="Benin" & leader=="Maga"
replace leadno=258 if country=="Benin" & leader=="Ahomadegbe"
replace leadno=259 if country=="Benin" & leader=="Kerekou"
replace leadno=260 if country=="Benin" & leader=="Soglo, C"
replace leadno=261 if country=="Benin" & leader=="Kerekou"
replace leadno=262 if country=="Bhutan" & leader=="Wangchuk, Jigme"
replace leadno=263 if country=="Bhutan" & leader=="Wangchuk, Jigme Dorji"
replace leadno=264 if country=="Bhutan" & leader=="Wangchuck, Jigme Singye"
replace leadno=265 if country=="Bhutan" & leader=="Lyonpo Jigme Thinley"
replace leadno=266 if country=="Bhutan" & leader=="Lyonpo Sangay Ngedup"
replace leadno=267 if country=="Bhutan" & leader=="Lyonpo Yeshey Zimba"
replace leadno=268 if country=="Bhutan" & leader=="Lyonpo Khandu Wangchuk"
replace leadno=269 if country=="Bhutan" & leader=="Lyonpo Kinzang Dorji"
replace leadno=270 if country=="Bhutan" & leader=="Lyonpo Jigme Thinley"
replace leadno=271 if country=="Bhutan" & leader=="Lyonpo Yeshey Zimba"
replace leadno=272 if country=="Bolivia" & leader=="Frias"
replace leadno=273 if country=="Bolivia" & leader=="Daza"
replace leadno=274 if country=="Bolivia" & leader=="Campero"
replace leadno=275 if country=="Bolivia" & leader=="Pacheco"
replace leadno=276 if country=="Bolivia" & leader=="Arce"
replace leadno=277 if country=="Bolivia" & leader=="Baptista"
replace leadno=278 if country=="Bolivia" & leader=="Fernandez Alonso"
replace leadno=279 if country=="Bolivia" & leader=="Jose Manuel Pando"
replace leadno=280 if country=="Bolivia" & leader=="Montes"
replace leadno=281 if country=="Bolivia" & leader=="Villazon"
replace leadno=282 if country=="Bolivia" & leader=="Montes"
replace leadno=283 if country=="Bolivia" & leader=="Gutierrez Guerra"
replace leadno=284 if country=="Bolivia" & leader=="Saavedra"
replace leadno=285 if country=="Bolivia" & leader=="Felipe Guzman"
replace leadno=286 if country=="Bolivia" & leader=="Siles"
replace leadno=287 if country=="Bolivia" & leader=="Blanco Galindo"
replace leadno=288 if country=="Bolivia" & leader=="Salamanca"
replace leadno=289 if country=="Bolivia" & leader=="Tejada Sorzano"
replace leadno=290 if country=="Bolivia" & leader=="Toro"
replace leadno=291 if country=="Bolivia" & leader=="Busch, G."
replace leadno=292 if country=="Bolivia" & leader=="Quintanila"
replace leadno=293 if country=="Bolivia" & leader=="Penaranda"
replace leadno=294 if country=="Bolivia" & leader=="Villarroel"
replace leadno=295 if country=="Bolivia" & leader=="Guillen"
replace leadno=296 if country=="Bolivia" & leader=="Gutierrez"
replace leadno=297 if country=="Bolivia" & leader=="Herzog"
replace leadno=298 if country=="Bolivia" & leader=="Urriolagoitia"
replace leadno=299 if country=="Bolivia" & leader=="Ballivian Rojas"
replace leadno=300 if country=="Bolivia" & leader=="Siles Zuazo"
replace leadno=301 if country=="Bolivia" & leader=="Paz Estenssoro"
replace leadno=302 if country=="Bolivia" & leader=="Siles Zuazo"
replace leadno=303 if country=="Bolivia" & leader=="Paz Estenssoro"
replace leadno=304 if country=="Bolivia" & leader=="Barrientos Ortuna"
replace leadno=305 if country=="Bolivia" & leader=="Ovando Candia"
replace leadno=306 if country=="Bolivia" & leader=="Barrientos Ortuna"
replace leadno=307 if country=="Bolivia" & leader=="Siles Salinas"
replace leadno=308 if country=="Bolivia" & leader=="Ovando Candia"
replace leadno=309 if country=="Bolivia" & leader=="Torres"
replace leadno=310 if country=="Bolivia" & leader=="Banzer Suarez"
replace leadno=311 if country=="Bolivia" & leader=="Pereda Asbun"
replace leadno=312 if country=="Bolivia" & leader=="Padilla Aranciba"
replace leadno=313 if country=="Bolivia" & leader=="Guevara Arze"
replace leadno=314 if country=="Bolivia" & leader=="Natusch Busch"
replace leadno=315 if country=="Bolivia" & leader=="Gueiler Tejada"
replace leadno=316 if country=="Bolivia" & leader=="Garcia Meza Tejada"
replace leadno=317 if country=="Bolivia" & leader=="Torrelio Villa"
replace leadno=318 if country=="Bolivia" & leader=="Vildoso Calderon"
replace leadno=319 if country=="Bolivia" & leader=="Siles Zuazo"
replace leadno=320 if country=="Bolivia" & leader=="Paz Estenssoro"
replace leadno=321 if country=="Bolivia" & leader=="Paz Zamora"
replace leadno=322 if country=="Bolivia" & leader=="Gonzalo Sanchez de Lozada"
replace leadno=323 if country=="Bolivia" & leader=="Banzer Suarez"
replace leadno=324 if country=="Bolivia" & leader=="Jorge Quiroga Ramirez"
replace leadno=325 if country=="Bolivia" & leader=="Gonzalo Sanchez de Lozada"
replace leadno=326 if country=="Bolivia" & leader=="Carlos Mesa"
replace leadno=327 if country=="Bosnia and Herzegovina" & leader=="Izetbegovic"
replace leadno=328 if country=="Bosnia and Herzegovina" & leader=="Radisic"
replace leadno=329 if country=="Bosnia and Herzegovina" & leader=="Jelavic"
replace leadno=330 if country=="Bosnia and Herzegovina" & leader=="Izetbegovic"
replace leadno=331 if country=="Bosnia and Herzegovina" & leader=="Radisic"
replace leadno=332 if country=="Bosnia and Herzegovina" & leader=="Krizanovic"
replace leadno=333 if country=="Bosnia and Herzegovina" & leader=="Belkic"
replace leadno=334 if country=="Bosnia and Herzegovina" & leader=="Sarovic"
replace leadno=335 if country=="Bosnia and Herzegovina" & leader=="Borislav Paravac"
replace leadno=336 if country=="Bosnia and Herzegovina" & leader=="Dragan Covic"
replace leadno=337 if country=="Bosnia and Herzegovina" & leader=="Sulejman Tihic"
replace leadno=338 if country=="Bosnia and Herzegovina" & leader=="Borislav Paravac"
replace leadno=339 if country=="Botswana" & leader=="Khama"
replace leadno=340 if country=="Botswana" & leader=="Masire"
replace leadno=341 if country=="Botswana" & leader=="Mogae"
replace leadno=342 if country=="Brazil" & leader=="Pedro II"
replace leadno=343 if country=="Brazil" & leader=="M. D. da Fonseca"
replace leadno=344 if country=="Brazil" & leader=="Peixoto"
replace leadno=345 if country=="Brazil" & leader=="de Moraes Barros"
replace leadno=346 if country=="Brazil" & leader=="de Campos Salles"
replace leadno=347 if country=="Brazil" & leader=="Rodriguez Alves"
replace leadno=348 if country=="Brazil" & leader=="Moreira Penna"
replace leadno=349 if country=="Brazil" & leader=="Pecanha"
replace leadno=350 if country=="Brazil" & leader=="H. R. da Fonseca"
replace leadno=351 if country=="Brazil" & leader=="Braz Pereira Gomez"
replace leadno=352 if country=="Brazil" & leader=="da Costa Ribeiro"
replace leadno=353 if country=="Brazil" & leader=="de Silva Pessoa"
replace leadno=354 if country=="Brazil" & leader=="de Silva Bernar"
replace leadno=355 if country=="Brazil" & leader=="de Souza"
replace leadno=356 if country=="Brazil" & leader=="Vargas"
replace leadno=357 if country=="Brazil" & leader=="Linhares"
replace leadno=358 if country=="Brazil" & leader=="Dutra"
replace leadno=359 if country=="Brazil" & leader=="Vargas"
replace leadno=360 if country=="Brazil" & leader=="Cafe Filho"
replace leadno=361 if country=="Brazil" & leader=="Coimbra da Luz"
replace leadno=362 if country=="Brazil" & leader=="Oliveria Ramos"
replace leadno=363 if country=="Brazil" & leader=="Kubitschek"
replace leadno=364 if country=="Brazil" & leader=="Quadros"
replace leadno=365 if country=="Brazil" & leader=="Ranieri Mazzilli"
replace leadno=366 if country=="Brazil" & leader=="Goulart"
replace leadno=367 if country=="Brazil" & leader=="Ranieri Mazzilli"
replace leadno=368 if country=="Brazil" & leader=="Castello Branco"
replace leadno=369 if country=="Brazil" & leader=="Costa de Silva"
replace leadno=370 if country=="Brazil" & leader=="Military Junta"
replace leadno=371 if country=="Brazil" & leader=="Medici"
replace leadno=372 if country=="Brazil" & leader=="Geisel"
replace leadno=373 if country=="Brazil" & leader=="Figueiredo"
replace leadno=374 if country=="Brazil" & leader=="Sarnay"
replace leadno=375 if country=="Brazil" & leader=="Mello"
replace leadno=376 if country=="Brazil" & leader=="Franco, Itamar"
replace leadno=377 if country=="Brazil" & leader=="Cardoso"
replace leadno=378 if country=="Brazil" & leader=="Lula da Silva"
replace leadno=379 if country=="Bulgaria" & leader=="Ferdinand I"
replace leadno=380 if country=="Bulgaria" & leader=="Boris III"
replace leadno=381 if country=="Bulgaria" & leader=="Cyril"
replace leadno=382 if country=="Bulgaria" & leader=="Georgiev"
replace leadno=383 if country=="Bulgaria" & leader=="Dimitrov"
replace leadno=384 if country=="Bulgaria" & leader=="Kolarov"
replace leadno=385 if country=="Bulgaria" & leader=="Chervenkov"
replace leadno=386 if country=="Bulgaria" & leader=="Zhivkov"
replace leadno=387 if country=="Bulgaria" & leader=="Mladenov"
replace leadno=388 if country=="Bulgaria" & leader=="Lukanov"
replace leadno=389 if country=="Bulgaria" & leader=="Popov"
replace leadno=391 if country=="Bulgaria" & leader=="Berov"
replace leadno=392 if country=="Bulgaria" & leader=="Indzhova"
replace leadno=393 if country=="Bulgaria" & leader=="Videnov"
replace leadno=394 if country=="Bulgaria" & leader=="Sofiyanski"
replace leadno=395 if country=="Bulgaria" & leader=="Kostov"
replace leadno=396 if country=="Bulgaria" & leader=="Saksgoburggotski"
replace leadno=397 if country=="Burkina Faso" & leader=="Yameogo"
replace leadno=398 if country=="Burkina Faso" & leader=="Lamizana"
replace leadno=399 if country=="Burkina Faso" & leader=="Gerard Kango Ouedraogo"
replace leadno=400 if country=="Burkina Faso" & leader=="Lamizana"
replace leadno=401 if country=="Burkina Faso" & leader=="Zerbo"
replace leadno=402 if country=="Burkina Faso" & leader=="J. P. Ouedraogo"
replace leadno=403 if country=="Burkina Faso" & leader=="Sankara"
replace leadno=404 if country=="Burkina Faso" & leader=="Campaore"
replace leadno=405 if country=="Burundi" & leader=="Mwambutsa"
replace leadno=406 if country=="Burundi" & leader=="Ntare"
replace leadno=407 if country=="Burundi" & leader=="Micombero"
replace leadno=408 if country=="Burundi" & leader=="Bagaza"
replace leadno=409 if country=="Burundi" & leader=="Buyoya"
replace leadno=410 if country=="Burundi" & leader=="Ndadaye"
replace leadno=411 if country=="Burundi" & leader=="Ngueze"
replace leadno=412 if country=="Burundi" & leader=="Kinigi"
replace leadno=413 if country=="Burundi" & leader=="Ntarymira"
replace leadno=414 if country=="Burundi" & leader=="Ntibantunganya"
replace leadno=415 if country=="Burundi" & leader=="Buyoya"
replace leadno=416 if country=="Burundi" & leader=="Ndayizeye"
replace leadno=417 if country=="Cambodia" & leader=="Sihanouk"
replace leadno=418 if country=="Cambodia" & leader=="Lon Nol"
replace leadno=419 if country=="Cambodia" & leader=="Pol Pot"
replace leadno=420 if country=="Cambodia" & leader=="Heng Samrin"
replace leadno=421 if country=="Cambodia" & leader=="Hun Sen"
replace leadno=422 if country=="Cambodia" & leader=="Ranariddh"
replace leadno=423 if country=="Cambodia" & leader=="Hun Sen"
replace leadno=424 if country=="Cameroon" & leader=="Ahidjo"
replace leadno=425 if country=="Cameroon" & leader=="Biya"
replace leadno=426 if country=="Canada" & leader=="Mackenzie"
replace leadno=427 if country=="Canada" & leader=="Macdonald"
replace leadno=428 if country=="Canada" & leader=="Abbott"
replace leadno=429 if country=="Canada" & leader=="Thompson"
replace leadno=430 if country=="Canada" & leader=="Bowell"
replace leadno=431 if country=="Canada" & leader=="Tupper"
replace leadno=432 if country=="Canada" & leader=="Laurier"
replace leadno=433 if country=="Canada" & leader=="Borden"
replace leadno=434 if country=="Canada" & leader=="Meighen"
replace leadno=435 if country=="Canada" & leader=="King"
replace leadno=436 if country=="Canada" & leader=="Meighen"
replace leadno=437 if country=="Canada" & leader=="King"
replace leadno=438 if country=="Canada" & leader=="Bennett"
replace leadno=439 if country=="Canada" & leader=="King"
replace leadno=440 if country=="Canada" & leader=="St. Laurent"
replace leadno=441 if country=="Canada" & leader=="Diefenbaker"
replace leadno=442 if country=="Canada" & leader=="Pearson"
replace leadno=443 if country=="Canada" & leader=="Trudeau"
replace leadno=444 if country=="Canada" & leader=="Clark"
replace leadno=445 if country=="Canada" & leader=="Trudeau"
replace leadno=446 if country=="Canada" & leader=="Turner"
replace leadno=447 if country=="Canada" & leader=="Mulroney"
replace leadno=448 if country=="Canada" & leader=="Kim Campbell"
replace leadno=449 if country=="Canada" & leader=="Chretien"
replace leadno=450 if country=="Canada" & leader=="Paul Martin"
replace leadno=451 if country=="Central African Republic" & leader=="Dacko"
replace leadno=452 if country=="Central African Republic" & leader=="Bokassa"
replace leadno=453 if country=="Central African Republic" & leader=="Dacko"
replace leadno=454 if country=="Central African Republic" & leader=="Kolingba"
replace leadno=455 if country=="Central African Republic" & leader=="Patasse"
replace leadno=456 if country=="Central African Republic" & leader=="Francois Bozize"
replace leadno=457 if country=="Chad" & leader=="Tombalbaye"
replace leadno=458 if country=="Chad" & leader=="Malloum"
replace leadno=459 if country=="Chad" & leader=="Oueddei"
replace leadno=460 if country=="Chad" & leader=="Habre"
replace leadno=461 if country=="Chad" & leader=="Deby"
replace leadno=462 if country=="Chile" & leader=="F.  Errazuriz Zanartu"
replace leadno=463 if country=="Chile" & leader=="Pinto"
replace leadno=464 if country=="Chile" & leader=="Santa Maria"
replace leadno=465 if country=="Chile" & leader=="Balmaceda"
replace leadno=466 if country=="Chile" & leader=="J. Montt-Alvarez"
replace leadno=467 if country=="Chile" & leader=="F. Errazuriz Echaurren"
replace leadno=468 if country=="Chile" & leader=="A. Zanartu Zanartu"
replace leadno=469 if country=="Chile" & leader=="Riesco Errazuriz"
replace leadno=470 if country=="Chile" & leader=="P. Montt"
replace leadno=471 if country=="Chile" & leader=="Albano"
replace leadno=472 if country=="Chile" & leader=="Figueroa Larrain"
replace leadno=473 if country=="Chile" & leader=="Lucco"
replace leadno=474 if country=="Chile" & leader=="Sanfuentes"
replace leadno=475 if country=="Chile" & leader=="Alessandri y Palma"
replace leadno=476 if country=="Chile" & leader=="Altamirano"
replace leadno=477 if country=="Chile" & leader=="Ibanez del Campo"
replace leadno=478 if country=="Chile" & leader=="Alessandri y Palma"
replace leadno=479 if country=="Chile" & leader=="Barros Borgono"
replace leadno=480 if country=="Chile" & leader=="Figueroa Larrain"
replace leadno=481 if country=="Chile" & leader=="Ibanez del Campo"
replace leadno=482 if country=="Chile" & leader=="Opazo Letelier"
replace leadno=483 if country=="Chile" & leader=="Montero Rodriquez"
replace leadno=484 if country=="Chile" & leader=="Trucco Franzani"
replace leadno=485 if country=="Chile" & leader=="Montero Rodriquez"
replace leadno=486 if country=="Chile" & leader=="Davila"
replace leadno=487 if country=="Chile" & leader=="Grove Vallejo"
replace leadno=488 if country=="Chile" & leader=="Davila"
replace leadno=489 if country=="Chile" & leader=="Blanche"
replace leadno=490 if country=="Chile" & leader=="Ovandel Urrutia"
replace leadno=491 if country=="Chile" & leader=="Alessandri y Palma"
replace leadno=492 if country=="Chile" & leader=="Aguirre Cerda"
replace leadno=493 if country=="Chile" & leader=="Mendez Arancibia"
replace leadno=494 if country=="Chile" & leader=="Rios Morales"
replace leadno=495 if country=="Chile" & leader=="Duhalde Vasquez"
replace leadno=496 if country=="Chile" & leader=="Bielech"
replace leadno=497 if country=="Chile" & leader=="Duhalde Vasquez"
replace leadno=498 if country=="Chile" & leader=="Iribarren"
replace leadno=499 if country=="Chile" & leader=="Gonzalez Videla"
replace leadno=500 if country=="Chile" & leader=="Ibanez Campo"
replace leadno=501 if country=="Chile" & leader=="Alessandri Rodriguez"
replace leadno=502 if country=="Chile" & leader=="Frei Montalva"
replace leadno=503 if country=="Chile" & leader=="Allende"
replace leadno=504 if country=="Chile" & leader=="Pinochet"
replace leadno=505 if country=="Chile" & leader=="Aylwin"
replace leadno=506 if country=="Chile" & leader=="Frei Ruiz-Tagle"
replace leadno=507 if country=="Chile" & leader=="Ricardo Lagos Escobar"
replace leadno=508 if country=="China" & leader=="Tz'u Hsi"
replace leadno=509 if country=="China" & leader=="Zaifeng"
replace leadno=510 if country=="China" & leader=="Empress Dowager Jonyu"
replace leadno=511 if country=="China" & leader=="Sun Yat-sen"
replace leadno=512 if country=="China" & leader=="Yuan Shih-kai"
replace leadno=513 if country=="China" & leader=="Li Yuan-Hung"
replace leadno=514 if country=="China" & leader=="Feng Kuo-chang"
replace leadno=515 if country=="China" & leader=="Hsu Shih-ch'ang"
replace leadno=516 if country=="China" & leader=="Li Yuan-Hung"
replace leadno=517 if country=="China" & leader=="Tsao Kun"
replace leadno=518 if country=="China" & leader=="Tuan Chi-jui"
replace leadno=519 if country=="China" & leader=="Chang Tso-lin"
replace leadno=520 if country=="China" & leader=="Chiang Kai-shek"
replace leadno=521 if country=="China" & leader=="Wang Kemin"
replace leadno=522 if country=="China" & leader=="Wang Jingwei"
replace leadno=523 if country=="China" & leader=="Chen Gongbo"
replace leadno=524 if country=="China" & leader=="Chiang Kai-shek"
replace leadno=525 if country=="China" & leader=="Mao Tse-Tung"
replace leadno=526 if country=="China" & leader=="Hua Guofeng"
replace leadno=527 if country=="China" & leader=="Deng Xiaoping"
replace leadno=528 if country=="China" & leader=="Jiang Zemin"
replace leadno=529 if country=="China" & leader=="Hu Jintao"
replace leadno=530 if country=="Colombia" & leader=="Perez"
replace leadno=531 if country=="Colombia" & leader=="Parra"
replace leadno=532 if country=="Colombia" & leader=="Camargo"
replace leadno=533 if country=="Colombia" & leader=="Parra"
replace leadno=534 if country=="Colombia" & leader=="Trujillo"
replace leadno=535 if country=="Colombia" & leader=="Nunez"
replace leadno=536 if country=="Colombia" & leader=="Zaldua"
replace leadno=537 if country=="Colombia" & leader=="Otalora"
replace leadno=538 if country=="Colombia" & leader=="Nunez"
replace leadno=539 if country=="Colombia" & leader=="Caro"
replace leadno=540 if country=="Colombia" & leader=="Sanclemente"
replace leadno=541 if country=="Colombia" & leader=="Marroquin"
replace leadno=542 if country=="Colombia" & leader=="Reyes Prieto"
replace leadno=543 if country=="Colombia" & leader=="J. Holguin"
replace leadno=544 if country=="Colombia" & leader=="Gonzales Valencia"
replace leadno=545 if country=="Colombia" & leader=="Restropo"
replace leadno=546 if country=="Colombia" & leader=="Concha"
replace leadno=547 if country=="Colombia" & leader=="Suarez"
replace leadno=548 if country=="Colombia" & leader=="J. Holguin"
replace leadno=549 if country=="Colombia" & leader=="Nel Ospina"
replace leadno=550 if country=="Colombia" & leader=="Abadia Mendez"
replace leadno=551 if country=="Colombia" & leader=="Olaya Herrera"
replace leadno=552 if country=="Colombia" & leader=="Lopez Pumarejo"
replace leadno=553 if country=="Colombia" & leader=="Santos"
replace leadno=554 if country=="Colombia" & leader=="Lopez Pumarejo"
replace leadno=555 if country=="Colombia" & leader=="Lleras Camargo"
replace leadno=556 if country=="Colombia" & leader=="Ospina Perez"
replace leadno=557 if country=="Colombia" & leader=="Laureanco Gomez"
replace leadno=558 if country=="Colombia" & leader=="Roberto Urdaneta Arbelaez"
replace leadno=559 if country=="Colombia" & leader=="Laureanco Gomez"
replace leadno=560 if country=="Colombia" & leader=="Rojas Pinillia"
replace leadno=561 if country=="Colombia" & leader=="Paris"
replace leadno=562 if country=="Colombia" & leader=="Lleras Camargo"
replace leadno=563 if country=="Colombia" & leader=="Guillermo-Leon"
replace leadno=564 if country=="Colombia" & leader=="Lleras Restropo"
replace leadno=565 if country=="Colombia" & leader=="Pastrana Borrero"
replace leadno=566 if country=="Colombia" & leader=="Lopez Michelsen"
replace leadno=567 if country=="Colombia" & leader=="Turbay"
replace leadno=568 if country=="Colombia" & leader=="Betancur"
replace leadno=569 if country=="Colombia" & leader=="Vargas"
replace leadno=570 if country=="Colombia" & leader=="Trujillo"
replace leadno=571 if country=="Colombia" & leader=="Pizano"
replace leadno=572 if country=="Colombia" & leader=="Arango"
replace leadno=573 if country=="Colombia" & leader=="Alvaro Uribe Velez"
replace leadno=574 if country=="Comoros" & leader=="Abdallah"
replace leadno=575 if country=="Comoros" & leader=="Soilih"
replace leadno=576 if country=="Comoros" & leader=="Bob Denard"
replace leadno=577 if country=="Comoros" & leader=="Djohar"
replace leadno=578 if country=="Comoros" & leader=="Bob Denard"
replace leadno=579 if country=="Comoros" & leader=="el-Yachroutu"
replace leadno=580 if country=="Comoros" & leader=="Djohar"
replace leadno=581 if country=="Comoros" & leader=="Abdoulkarim"
replace leadno=582 if country=="Comoros" & leader=="Massounde"
replace leadno=583 if country=="Comoros" & leader=="Azali Assoumani"
replace leadno=584 if country=="Comoros" & leader=="Hamada Madi"
replace leadno=585 if country=="Comoros" & leader=="Azali Assoumani"
replace leadno=586 if country=="Congo" & leader=="Youlou"
replace leadno=587 if country=="Congo" & leader=="Debat"
replace leadno=588 if country=="Congo" & leader=="Raoul"
replace leadno=589 if country=="Congo" & leader=="Ngouabi"
replace leadno=590 if country=="Congo" & leader=="Opango"
replace leadno=591 if country=="Congo" & leader=="Nguesso"
replace leadno=592 if country=="Congo" & leader=="Lissouba"
replace leadno=593 if country=="Congo" & leader=="Nguesso"
replace leadno=594 if country=="Costa Rica" & leader=="Guardia"
replace leadno=595 if country=="Costa Rica" & leader=="Lizano"
replace leadno=596 if country=="Costa Rica" & leader=="Prospero Fernandez Oreamuno"
replace leadno=597 if country=="Costa Rica" & leader=="Bernardo Soto Alfaro"
replace leadno=598 if country=="Costa Rica" & leader=="Carlos Duran Cartin"
replace leadno=599 if country=="Costa Rica" & leader=="Jose Joaquin Rodriguez"
replace leadno=600 if country=="Costa Rica" & leader=="Rafael Yglesias Castro"
replace leadno=601 if country=="Costa Rica" & leader=="Ascension Esquivel Ibarra"
replace leadno=602 if country=="Costa Rica" & leader=="Gonzalez Viquez"
replace leadno=603 if country=="Costa Rica" & leader=="Jimenez Oreamuno"
replace leadno=604 if country=="Costa Rica" & leader=="Alfredo Gonzalez Flores"
replace leadno=605 if country=="Costa Rica" & leader=="Federico Tinoco Granados"
replace leadno=606 if country=="Costa Rica" & leader=="Juan Bautista Quiros Segura"
replace leadno=607 if country=="Costa Rica" & leader=="Barquero"
replace leadno=608 if country=="Costa Rica" & leader=="Acosta Garcia"
replace leadno=609 if country=="Costa Rica" & leader=="Jimenez Oreamuno"
replace leadno=610 if country=="Costa Rica" & leader=="Gonzalez Viquez"
replace leadno=611 if country=="Costa Rica" & leader=="Jimenez Oreamuno"
replace leadno=612 if country=="Costa Rica" & leader=="Cortes Castro"
replace leadno=613 if country=="Costa Rica" & leader=="Calderon Guardi"
replace leadno=614 if country=="Costa Rica" & leader=="Picado Michalski"
replace leadno=615 if country=="Costa Rica" & leader=="Leon Herrera"
replace leadno=616 if country=="Costa Rica" & leader=="Figueres Ferrer"
replace leadno=617 if country=="Costa Rica" & leader=="Otilia Ulate"
replace leadno=618 if country=="Costa Rica" & leader=="Figueres Ferrer"
replace leadno=619 if country=="Costa Rica" & leader=="Echandi Jimenez"
replace leadno=620 if country=="Costa Rica" & leader=="Orlich"
replace leadno=621 if country=="Costa Rica" & leader=="Trejos"
replace leadno=622 if country=="Costa Rica" & leader=="Figueres Ferrer"
replace leadno=623 if country=="Costa Rica" & leader=="Quiros, Daniel"
replace leadno=624 if country=="Costa Rica" & leader=="Carazo Odio"
replace leadno=625 if country=="Costa Rica" & leader=="Monge Alverez"
replace leadno=626 if country=="Costa Rica" & leader=="Arias"
replace leadno=627 if country=="Costa Rica" & leader=="Calderon Fournier"
replace leadno=628 if country=="Costa Rica" & leader=="Figueres Olsen"
replace leadno=629 if country=="Costa Rica" & leader=="Rodriguez Echeverria"
replace leadno=630 if country=="Costa Rica" & leader=="de la Espriella"
replace leadno=631 if country=="Cote d'Ivoire" & leader=="Houphouet-Boigny"
replace leadno=632 if country=="Cote d'Ivoire" & leader=="Konan Bedie"
replace leadno=633 if country=="Cote d'Ivoire" & leader=="Guei"
replace leadno=634 if country=="Cote d'Ivoire" & leader=="Laurent Gbagbo"
replace leadno=635 if country=="Croatia" & leader=="Tudjman"
replace leadno=636 if country=="Croatia" & leader=="Pavletic"
replace leadno=637 if country=="Croatia" & leader=="Tomcic"
replace leadno=638 if country=="Croatia" & leader=="Mesic"
replace leadno=639 if country=="Cuba" & leader=="Palma"
replace leadno=640 if country=="Cuba" & leader=="Gomez"
replace leadno=641 if country=="Cuba" & leader=="Menocal"
replace leadno=642 if country=="Cuba" & leader=="Zyas y Alfonso"
replace leadno=643 if country=="Cuba" & leader=="Machado Morales"
replace leadno=644 if country=="Cuba" & leader=="de Cespedes"
replace leadno=645 if country=="Cuba" & leader=="Grau San Martin"
replace leadno=646 if country=="Cuba" & leader=="Hevia"
replace leadno=647 if country=="Cuba" & leader=="Mendieta"
replace leadno=648 if country=="Cuba" & leader=="Barnet"
replace leadno=649 if country=="Cuba" & leader=="Gomez y Arias"
replace leadno=650 if country=="Cuba" & leader=="Laredo Bru"
replace leadno=651 if country=="Cuba" & leader=="Batista"
replace leadno=652 if country=="Cuba" & leader=="Grau San Martin"
replace leadno=653 if country=="Cuba" & leader=="Prio Socarres"
replace leadno=654 if country=="Cuba" & leader=="Batista"
replace leadno=655 if country=="Cuba" & leader=="Castro"
replace leadno=656 if country=="Cyprus" & leader=="Makarios"
replace leadno=657 if country=="Cyprus" & leader=="Sampson"
replace leadno=658 if country=="Cyprus" & leader=="Clerides"
replace leadno=659 if country=="Cyprus" & leader=="Makarios"
replace leadno=660 if country=="Cyprus" & leader=="Kyprianou"
replace leadno=661 if country=="Cyprus" & leader=="Vassiliou"
replace leadno=662 if country=="Cyprus" & leader=="Clerides"
replace leadno=663 if country=="Cyprus" & leader=="Tassos Nikolaou Papadopoulos"
replace leadno=664 if country=="Czech Republic" & leader=="Klaus"
replace leadno=665 if country=="Czech Republic" & leader=="Tosovsky"
replace leadno=666 if country=="Czech Republic" & leader=="Zeman"
replace leadno=667 if country=="Czech Republic" & leader=="Spidla"
replace leadno=668 if country=="Czech Republic" & leader=="Stanislav Gross"
replace leadno=669 if country=="Czechoslovakia" & leader=="Masaryk"
replace leadno=670 if country=="Czechoslovakia" & leader=="Benes"
replace leadno=671 if country=="Czechoslovakia" & leader=="Syrovy"
replace leadno=672 if country=="Czechoslovakia" & leader=="Hacha"
replace leadno=673 if country=="Czechoslovakia" & leader=="Benes"
replace leadno=674 if country=="Czechoslovakia" & leader=="Gottwald"
replace leadno=675 if country=="Czechoslovakia" & leader=="Zapotocky"
replace leadno=676 if country=="Czechoslovakia" & leader=="Novotny"
replace leadno=677 if country=="Czechoslovakia" & leader=="Dubcek"
replace leadno=678 if country=="Czechoslovakia" & leader=="Svoboda"
replace leadno=679 if country=="Czechoslovakia" & leader=="Husak"
replace leadno=680 if country=="Czechoslovakia" & leader=="Calfa"
replace leadno=681 if country=="Czechoslovakia" & leader=="Strasky"
replace leadno=682 if country=="Democratic Republic of Congo" & leader=="Lumumba"
replace leadno=683 if country=="Democratic Republic of Congo" & leader=="Mobutu"
replace leadno=684 if country=="Democratic Republic of Congo" & leader=="Kasavubu"
replace leadno=685 if country=="Democratic Republic of Congo" & leader=="Mobutu"
replace leadno=686 if country=="Democratic Republic of Congo" & leader=="Laurent Kabila"
replace leadno=687 if country=="Democratic Republic of Congo" & leader=="Joseph Kabila"
replace leadno=688 if country=="Denmark" & leader=="Fonnesbech"
replace leadno=689 if country=="Denmark" & leader=="Estrup"
replace leadno=690 if country=="Denmark" & leader=="Reedtz-Thott"
replace leadno=691 if country=="Denmark" & leader=="Horring"
replace leadno=692 if country=="Denmark" & leader=="Sehested"
replace leadno=693 if country=="Denmark" & leader=="Deuntzer"
replace leadno=694 if country=="Denmark" & leader=="Christensen"
replace leadno=695 if country=="Denmark" & leader=="Neergaard"
replace leadno=696 if country=="Denmark" & leader=="J. Holstein"
replace leadno=697 if country=="Denmark" & leader=="Zahle"
replace leadno=698 if country=="Denmark" & leader=="Bernsten"
replace leadno=699 if country=="Denmark" & leader=="Zahle"
replace leadno=700 if country=="Denmark" & leader=="Liebe"
replace leadno=701 if country=="Denmark" & leader=="Friis"
replace leadno=702 if country=="Denmark" & leader=="Neergaard"
replace leadno=703 if country=="Denmark" & leader=="Stauning"
replace leadno=704 if country=="Denmark" & leader=="Madsen-Mygdat"
replace leadno=705 if country=="Denmark" & leader=="Stauning"
replace leadno=706 if country=="Denmark" & leader=="Buhl"
replace leadno=707 if country=="Denmark" & leader=="Scavenius"
replace leadno=708 if country=="Denmark" & leader=="Buhl"
replace leadno=709 if country=="Denmark" & leader=="Kristensen"
replace leadno=710 if country=="Denmark" & leader=="Hedtoft"
replace leadno=711 if country=="Denmark" & leader=="Eriksen"
replace leadno=712 if country=="Denmark" & leader=="Hedtoft"
replace leadno=713 if country=="Denmark" & leader=="Hansen"
replace leadno=714 if country=="Denmark" & leader=="Kampmann"
replace leadno=715 if country=="Denmark" & leader=="Krag"
replace leadno=716 if country=="Denmark" & leader=="Baunsgaard"
replace leadno=717 if country=="Denmark" & leader=="Krag"
replace leadno=718 if country=="Denmark" & leader=="Jorgensen"
replace leadno=719 if country=="Denmark" & leader=="Hartling"
replace leadno=720 if country=="Denmark" & leader=="Jorgensen"
replace leadno=721 if country=="Denmark" & leader=="Schluter"
replace leadno=722 if country=="Denmark" & leader=="Nyrup Rasmussen"
replace leadno=723 if country=="Denmark" & leader=="Fogh Rasmussen"
replace leadno=724 if country=="Djibouti" & leader=="Gouled Aptidon"
replace leadno=725 if country=="Djibouti" & leader=="Guelleh"
replace leadno=726 if country=="Dominican Republic" & leader=="Gonzalez"
replace leadno=727 if country=="Dominican Republic" & leader=="Villanueva"
replace leadno=728 if country=="Dominican Republic" & leader=="Espaillat"
replace leadno=729 if country=="Dominican Republic" & leader=="Gonzalez"
replace leadno=730 if country=="Dominican Republic" & leader=="Buenaventura Baez"
replace leadno=731 if country=="Dominican Republic" & leader=="Guillermo"
replace leadno=732 if country=="Dominican Republic" & leader=="Gonzalez"
replace leadno=733 if country=="Dominican Republic" & leader=="del Rosario de Castro"
replace leadno=734 if country=="Dominican Republic" & leader=="Guillermo"
replace leadno=735 if country=="Dominican Republic" & leader=="Luperon"
replace leadno=736 if country=="Dominican Republic" & leader=="de Merino"
replace leadno=737 if country=="Dominican Republic" & leader=="Heureaux"
replace leadno=738 if country=="Dominican Republic" & leader=="Billini"
replace leadno=739 if country=="Dominican Republic" & leader=="Woss y Gil"
replace leadno=740 if country=="Dominican Republic" & leader=="Heureaux"
replace leadno=741 if country=="Dominican Republic" & leader=="Figuereo"
replace leadno=742 if country=="Dominican Republic" & leader=="Vasquez"
replace leadno=743 if country=="Dominican Republic" & leader=="Jimenez"
replace leadno=744 if country=="Dominican Republic" & leader=="Vasquez"
replace leadno=745 if country=="Dominican Republic" & leader=="Woss y Gil"
replace leadno=746 if country=="Dominican Republic" & leader=="Morales"
replace leadno=747 if country=="Dominican Republic" & leader=="Caceres"
replace leadno=748 if country=="Dominican Republic" & leader=="Victoria"
replace leadno=749 if country=="Dominican Republic" & leader=="Nouel y Bobadilla"
replace leadno=750 if country=="Dominican Republic" & leader=="Bordas y Valdes"
replace leadno=751 if country=="Dominican Republic" & leader=="Ramon Baez"
replace leadno=752 if country=="Dominican Republic" & leader=="Jimenez"
replace leadno=753 if country=="Dominican Republic" & leader=="Vasquez"
replace leadno=754 if country=="Dominican Republic" & leader=="Estrella Urena"
replace leadno=755 if country=="Dominican Republic" & leader=="Rafel Trujillo"
replace leadno=756 if country=="Dominican Republic" & leader=="Balaguer"
replace leadno=757 if country=="Dominican Republic" & leader=="Echavarria"
replace leadno=758 if country=="Dominican Republic" & leader=="Filiberto Bonnelly"
replace leadno=759 if country=="Dominican Republic" & leader=="Bosch"
replace leadno=760 if country=="Dominican Republic" & leader=="de los Santos"
replace leadno=761 if country=="Dominican Republic" & leader=="Cabral"
replace leadno=762 if country=="Dominican Republic" & leader=="Molina Urena"
replace leadno=763 if country=="Dominican Republic" & leader=="Bartolome Benoit"
replace leadno=764 if country=="Dominican Republic" & leader=="Berreras"
replace leadno=765 if country=="Dominican Republic" & leader=="Godoy"
replace leadno=766 if country=="Dominican Republic" & leader=="Balaguer"
replace leadno=767 if country=="Dominican Republic" & leader=="Guzman Fernandez"
replace leadno=768 if country=="Dominican Republic" & leader=="Majluta Azar"
replace leadno=769 if country=="Dominican Republic" & leader=="Blanco"
replace leadno=770 if country=="Dominican Republic" & leader=="Balaguer"
replace leadno=771 if country=="Dominican Republic" & leader=="Fernandez Reyna"
replace leadno=772 if country=="Dominican Republic" & leader=="Hipolito Mejia"
replace leadno=773 if country=="Dominican Republic" & leader=="Fernandez Reyna"
replace leadno=774 if country=="East Timor" & leader=="Gusmao"
replace leadno=775 if country=="Ecuador" & leader=="Moreno"
replace leadno=776 if country=="Ecuador" & leader=="Borrero y Cortazar"
replace leadno=777 if country=="Ecuador" & leader=="Veintemilla"
replace leadno=778 if country=="Ecuador" & leader=="Aloy Alfaro Delgado"
replace leadno=779 if country=="Ecuador" & leader=="Borrero y Cortazar"
replace leadno=780 if country=="Ecuador" & leader=="Perez Pareja"
replace leadno=781 if country=="Ecuador" & leader=="Caamano"
replace leadno=782 if country=="Ecuador" & leader=="Flores"
replace leadno=783 if country=="Ecuador" & leader=="Cordero"
replace leadno=784 if country=="Ecuador" & leader=="Aloy Alfaro Delgado"
replace leadno=785 if country=="Ecuador" & leader=="Plaza Gutierrez"
replace leadno=786 if country=="Ecuador" & leader=="Garcia"
replace leadno=787 if country=="Ecuador" & leader=="Aloy Alfaro Delgado"
replace leadno=788 if country=="Ecuador" & leader=="Freile"
replace leadno=789 if country=="Ecuador" & leader=="E. Estrada"
replace leadno=790 if country=="Ecuador" & leader=="Freile"
replace leadno=791 if country=="Ecuador" & leader=="Andrade Marin"
replace leadno=792 if country=="Ecuador" & leader=="Alfredo Baquerizo Moreno"
replace leadno=793 if country=="Ecuador" & leader=="Plaza Gutierrez"
replace leadno=794 if country=="Ecuador" & leader=="Alfredo Baquerizo Moreno"
replace leadno=795 if country=="Ecuador" & leader=="Tamayo"
replace leadno=796 if country=="Ecuador" & leader=="Cordova"
replace leadno=797 if country=="Ecuador" & leader=="Ayora"
replace leadno=798 if country=="Ecuador" & leader=="Larrea Alba"
replace leadno=799 if country=="Ecuador" & leader=="Alfredo Baquerizo Moreno"
replace leadno=800 if country=="Ecuador" & leader=="Freile Larrea"
replace leadno=801 if country=="Ecuador" & leader=="Guerrero Martin"
replace leadno=802 if country=="Ecuador" & leader=="Martinez Mera"
replace leadno=803 if country=="Ecuador" & leader=="Montalvo"
replace leadno=804 if country=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=805 if country=="Ecuador" & leader=="Pons"
replace leadno=806 if country=="Ecuador" & leader=="Paez"
replace leadno=807 if country=="Ecuador" & leader=="Enriquez Gallo"
replace leadno=808 if country=="Ecuador" & leader=="Manuel Maria Borrero"
replace leadno=809 if country=="Ecuador" & leader=="Mosquera Narvaez"
replace leadno=810 if country=="Ecuador" & leader=="Arroyo del Rio"
replace leadno=811 if country=="Ecuador" & leader=="Cordova Nieto"
replace leadno=812 if country=="Ecuador" & leader=="Moreno"
replace leadno=813 if country=="Ecuador" & leader=="Arroyo del Rio"
replace leadno=814 if country=="Ecuador" & leader=="Navarro Allende"
replace leadno=815 if country=="Ecuador" & leader=="Larrea Alba"
replace leadno=816 if country=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=817 if country=="Ecuador" & leader=="Mancheno"
replace leadno=818 if country=="Ecuador" & leader=="Suarez"
replace leadno=819 if country=="Ecuador" & leader=="Arosemana Tola"
replace leadno=820 if country=="Ecuador" & leader=="Plaza Lasso"
replace leadno=821 if country=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=822 if country=="Ecuador" & leader=="Ponce Enriquez"
replace leadno=823 if country=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=824 if country=="Ecuador" & leader=="Arosemena Monroy"
replace leadno=825 if country=="Ecuador" & leader=="Castro"
replace leadno=826 if country=="Ecuador" & leader=="Yerovi Indaburu"
replace leadno=827 if country=="Ecuador" & leader=="Arosemena Gomez"
replace leadno=828 if country=="Ecuador" & leader=="Velasco Ibarra"
replace leadno=829 if country=="Ecuador" & leader=="Rodriguez Lara"
replace leadno=830 if country=="Ecuador" & leader=="Poveda Burbano"
replace leadno=831 if country=="Ecuador" & leader=="Roldos Aquilers"
replace leadno=832 if country=="Ecuador" & leader=="Hurtado Larrea"
replace leadno=833 if country=="Ecuador" & leader=="Febres Cordaro"
replace leadno=834 if country=="Ecuador" & leader=="Borja Cevallos"
replace leadno=835 if country=="Ecuador" & leader=="Duran Ballen"
replace leadno=836 if country=="Ecuador" & leader=="Bucaram Ortiz"
replace leadno=837 if country=="Ecuador" & leader=="Alarcon Fabian"
replace leadno=838 if country=="Ecuador" & leader=="Arteaga Serrano"
replace leadno=839 if country=="Ecuador" & leader=="Alarcon Fabian"
replace leadno=840 if country=="Ecuador" & leader=="Mahuad"
replace leadno=841 if country=="Ecuador" & leader=="Gustavo Noboa"
replace leadno=842 if country=="Ecuador" & leader=="Lucio Gutierrez"
replace leadno=843 if country=="Egypt" & leader=="Fuad I"
replace leadno=844 if country=="Egypt" & leader=="Farouk"
replace leadno=845 if country=="Egypt" & leader=="Naguib"
replace leadno=846 if country=="Egypt" & leader=="Nasser"
replace leadno=847 if country=="Egypt" & leader=="Sadat"
replace leadno=848 if country=="Egypt" & leader=="Mubarak"
replace leadno=849 if country=="El Salvador" & leader=="Gonzalez"
replace leadno=850 if country=="El Salvador" & leader=="Andres del Valle"
replace leadno=851 if country=="El Salvador" & leader=="Zaldivar"
replace leadno=852 if country=="El Salvador" & leader=="Menendez"
replace leadno=853 if country=="El Salvador" & leader=="Ezeta"
replace leadno=854 if country=="El Salvador" & leader=="Guttierez"
replace leadno=855 if country=="El Salvador" & leader=="Regalado"
replace leadno=856 if country=="El Salvador" & leader=="Escalon"
replace leadno=857 if country=="El Salvador" & leader=="Figueroa"
replace leadno=858 if country=="El Salvador" & leader=="Araujo"
replace leadno=859 if country=="El Salvador" & leader=="C. Melendez"
replace leadno=860 if country=="El Salvador" & leader=="Quinonez Molina"
replace leadno=861 if country=="El Salvador" & leader=="C. Melendez"
replace leadno=862 if country=="El Salvador" & leader=="Quinonez Molina"
replace leadno=863 if country=="El Salvador" & leader=="J. Melendez"
replace leadno=864 if country=="El Salvador" & leader=="Quinonez Molina"
replace leadno=865 if country=="El Salvador" & leader=="Romeo Bosque"
replace leadno=866 if country=="El Salvador" & leader=="Arajuo, A."
replace leadno=867 if country=="El Salvador" & leader=="Hernandez Martinez"
replace leadno=868 if country=="El Salvador" & leader=="Menendez, A.I."
replace leadno=869 if country=="El Salvador" & leader=="Hernandez Martinez"
replace leadno=870 if country=="El Salvador" & leader=="Menendez, A.I."
replace leadno=871 if country=="El Salvador" & leader=="Aguirre Salinas"
replace leadno=872 if country=="El Salvador" & leader=="Castaneda Castro"
replace leadno=873 if country=="El Salvador" & leader=="Cordova"
replace leadno=874 if country=="El Salvador" & leader=="Osorio"
replace leadno=875 if country=="El Salvador" & leader=="Oscar Bolanos"
replace leadno=876 if country=="El Salvador" & leader=="Osorio"
replace leadno=877 if country=="El Salvador" & leader=="Lemus"
replace leadno=878 if country=="El Salvador" & leader=="Castillo"
replace leadno=879 if country=="El Salvador" & leader=="Portillo"
replace leadno=880 if country=="El Salvador" & leader=="Rodolfo Cordon"
replace leadno=881 if country=="El Salvador" & leader=="Rivera"
replace leadno=882 if country=="El Salvador" & leader=="Sanchez Hernandez"
replace leadno=883 if country=="El Salvador" & leader=="Molina"
replace leadno=884 if country=="El Salvador" & leader=="Romero Mena"
replace leadno=885 if country=="El Salvador" & leader=="Majano Ramos"
replace leadno=886 if country=="El Salvador" & leader=="Duarte"
replace leadno=887 if country=="El Salvador" & leader=="Magana Borjo"
replace leadno=888 if country=="El Salvador" & leader=="Duarte"
replace leadno=889 if country=="El Salvador" & leader=="Cristiani"
replace leadno=890 if country=="El Salvador" & leader=="Calderon Sol"
replace leadno=891 if country=="El Salvador" & leader=="Flores"
replace leadno=892 if country=="El Salvador" & leader=="Saca Gonz�lez"
replace leadno=893 if country=="Equatorial Guinea" & leader=="Bonifacio Ondo Edu"
replace leadno=894 if country=="Equatorial Guinea" & leader=="Macias Nguema"
replace leadno=895 if country=="Equatorial Guinea" & leader=="Nguema Mbasogo"
replace leadno=896 if country=="Eritrea" & leader=="Afeworki"
replace leadno=897 if country=="Estonia" & leader=="Pats"
replace leadno=898 if country=="Estonia" & leader=="Strandman"
replace leadno=899 if country=="Estonia" & leader=="Tonisson"
replace leadno=900 if country=="Estonia" & leader=="Piip"
replace leadno=901 if country=="Estonia" & leader=="Pats"
replace leadno=902 if country=="Estonia" & leader=="Kukk"
replace leadno=903 if country=="Estonia" & leader=="Pats"
replace leadno=904 if country=="Estonia" & leader=="Akel"
replace leadno=905 if country=="Estonia" & leader=="Jaakson"
replace leadno=906 if country=="Estonia" & leader=="Teemant"
replace leadno=907 if country=="Estonia" & leader=="Uluots"
replace leadno=908 if country=="Estonia" & leader=="Tonisson"
replace leadno=909 if country=="Estonia" & leader=="Rei"
replace leadno=910 if country=="Estonia" & leader=="Strandman"
replace leadno=911 if country=="Estonia" & leader=="Pats"
replace leadno=912 if country=="Estonia" & leader=="Teemant"
replace leadno=913 if country=="Estonia" & leader=="Einbund"
replace leadno=914 if country=="Estonia" & leader=="Pats"
replace leadno=915 if country=="Estonia" & leader=="Tonisson"
replace leadno=916 if country=="Estonia" & leader=="Pats"
replace leadno=917 if country=="Estonia" & leader=="Vares"
replace leadno=918 if country=="Estonia" & leader=="Savisaar"
replace leadno=919 if country=="Estonia" & leader=="Vahi"
replace leadno=920 if country=="Estonia" & leader=="Laar"
replace leadno=921 if country=="Estonia" & leader=="Tarand"
replace leadno=922 if country=="Estonia" & leader=="Vahi"
replace leadno=923 if country=="Estonia" & leader=="Siimann"
replace leadno=924 if country=="Estonia" & leader=="Laar"
replace leadno=925 if country=="Estonia" & leader=="Kallas"
replace leadno=926 if country=="Estonia" & leader=="Parts"
replace leadno=927 if country=="Ethiopia" & leader=="Yohannes IV"
replace leadno=928 if country=="Ethiopia" & leader=="Menelek II"
replace leadno=929 if country=="Ethiopia" & leader=="Joshua (Lij Yasu)"
replace leadno=930 if country=="Ethiopia" & leader=="Judith (Zanditu)"
replace leadno=931 if country=="Ethiopia" & leader=="Selassie"
replace leadno=932 if country=="Ethiopia" & leader=="King of Italy/Emperor of Ethiopia"
replace leadno=933 if country=="Ethiopia" & leader=="Selassie"
replace leadno=934 if country=="Ethiopia" & leader=="Andom"
replace leadno=935 if country=="Ethiopia" & leader=="Banti"
replace leadno=936 if country=="Ethiopia" & leader=="Mengistu Marriam"
replace leadno=937 if country=="Ethiopia" & leader=="Gebre Kidan"
replace leadno=938 if country=="Ethiopia" & leader=="Meles Zenawi"
replace leadno=939 if country=="Fiji" & leader=="Mara"
replace leadno=940 if country=="Fiji" & leader=="Bavadra"
replace leadno=941 if country=="Fiji" & leader=="Rabuka"
replace leadno=942 if country=="Fiji" & leader=="Mara"
replace leadno=943 if country=="Fiji" & leader=="Rabuka"
replace leadno=944 if country=="Fiji" & leader=="Chaudhry"
replace leadno=945 if country=="Fiji" & leader=="Ratu Josefa Iloilo"
replace leadno=946 if country=="Fiji" & leader=="Bainimarama"
replace leadno=947 if country=="Fiji" & leader=="Laisenia Qarase"
replace leadno=948 if country=="Finland" & leader=="Svinhufud"
replace leadno=949 if country=="Finland" & leader=="Mannerheim"
replace leadno=950 if country=="Finland" & leader=="Stahlberg"
replace leadno=951 if country=="Finland" & leader=="Relander"
replace leadno=952 if country=="Finland" & leader=="Svinhufud"
replace leadno=953 if country=="Finland" & leader=="Kallio"
replace leadno=954 if country=="Finland" & leader=="Ryti"
replace leadno=955 if country=="Finland" & leader=="Mannerheim"
replace leadno=956 if country=="Finland" & leader=="Paasikivi"
replace leadno=957 if country=="Finland" & leader=="Kekkonen"
replace leadno=958 if country=="Finland" & leader=="Koivisto"
replace leadno=959 if country=="Finland" & leader=="Marthi Ahtisaari"
replace leadno=960 if country=="Finland" & leader=="Halonen"
replace leadno=961 if country=="France" & leader=="Cissey"
replace leadno=962 if country=="France" & leader=="Buffet"
replace leadno=963 if country=="France" & leader=="DuFaure"
replace leadno=964 if country=="France" & leader=="Simon"
replace leadno=965 if country=="France" & leader=="Broglie"
replace leadno=966 if country=="France" & leader=="Rochebouet"
replace leadno=967 if country=="France" & leader=="DuFaure"
replace leadno=968 if country=="France" & leader=="Waddington"
replace leadno=969 if country=="France" & leader=="Freycinet"
replace leadno=970 if country=="France" & leader=="Ferry"
replace leadno=971 if country=="France" & leader=="Gambetta"
replace leadno=972 if country=="France" & leader=="Freycinet"
replace leadno=973 if country=="France" & leader=="Duclerc"
replace leadno=974 if country=="France" & leader=="Fallieres"
replace leadno=975 if country=="France" & leader=="Ferry"
replace leadno=976 if country=="France" & leader=="Brisson"
replace leadno=977 if country=="France" & leader=="Freycinet"
replace leadno=978 if country=="France" & leader=="Goblet"
replace leadno=979 if country=="France" & leader=="Rouvier"
replace leadno=980 if country=="France" & leader=="Tirard"
replace leadno=981 if country=="France" & leader=="Floquet"
replace leadno=982 if country=="France" & leader=="Tirard"
replace leadno=983 if country=="France" & leader=="Freycinet"
replace leadno=984 if country=="France" & leader=="Loubet"
replace leadno=985 if country=="France" & leader=="Ribot"
replace leadno=986 if country=="France" & leader=="Dupuy"
replace leadno=987 if country=="France" & leader=="Casimir-Perier"
replace leadno=988 if country=="France" & leader=="Dupuy"
replace leadno=989 if country=="France" & leader=="Ribot"
replace leadno=990 if country=="France" & leader=="Bourgeois"
replace leadno=991 if country=="France" & leader=="Meline"
replace leadno=992 if country=="France" & leader=="Brisson"
replace leadno=993 if country=="France" & leader=="Dupuy"
replace leadno=994 if country=="France" & leader=="Waldeck-Rousseau"
replace leadno=995 if country=="France" & leader=="Combes"
replace leadno=996 if country=="France" & leader=="Rouvier"
replace leadno=997 if country=="France" & leader=="Sarrien"
replace leadno=998 if country=="France" & leader=="Clemenceau"
replace leadno=999 if country=="France" & leader=="Briand"
replace leadno=1000 if country=="France" & leader=="Monis"
replace leadno=1001 if country=="France" & leader=="Caillaux"
replace leadno=1002 if country=="France" & leader=="Poincare"
replace leadno=1003 if country=="France" & leader=="Briand"
replace leadno=1004 if country=="France" & leader=="Barthou"
replace leadno=1005 if country=="France" & leader=="Doumergue"
replace leadno=1006 if country=="France" & leader=="Viviani"
replace leadno=1007 if country=="France" & leader=="Briand"
replace leadno=1008 if country=="France" & leader=="Ribot"
replace leadno=1009 if country=="France" & leader=="Painleve"
replace leadno=1010 if country=="France" & leader=="Clemenceau"
replace leadno=1011 if country=="France" & leader=="Millerand"
replace leadno=1012 if country=="France" & leader=="Leygues"
replace leadno=1013 if country=="France" & leader=="Briand"
replace leadno=1014 if country=="France" & leader=="Poincare"
replace leadno=1015 if country=="France" & leader=="Francois-Marsat"
replace leadno=1016 if country=="France" & leader=="Herriot"
replace leadno=1017 if country=="France" & leader=="Painleve"
replace leadno=1018 if country=="France" & leader=="Briand"
replace leadno=1019 if country=="France" & leader=="Herriot"
replace leadno=1020 if country=="France" & leader=="Poincare"
replace leadno=1021 if country=="France" & leader=="Briand"
replace leadno=1022 if country=="France" & leader=="Poincare"
replace leadno=1023 if country=="France" & leader=="Tardieu"
replace leadno=1024 if country=="France" & leader=="Chautemps"
replace leadno=1025 if country=="France" & leader=="Tardieu"
replace leadno=1026 if country=="France" & leader=="Steeg"
replace leadno=1027 if country=="France" & leader=="Laval"
replace leadno=1028 if country=="France" & leader=="Tardieu"
replace leadno=1029 if country=="France" & leader=="Herriot"
replace leadno=1030 if country=="France" & leader=="Paul-Boncour"
replace leadno=1031 if country=="France" & leader=="Daladier"
replace leadno=1032 if country=="France" & leader=="Sarraut"
replace leadno=1033 if country=="France" & leader=="Chautemps"
replace leadno=1034 if country=="France" & leader=="Daladier"
replace leadno=1035 if country=="France" & leader=="Doumergue"
replace leadno=1036 if country=="France" & leader=="Flandin"
replace leadno=1037 if country=="France" & leader=="Bouissin"
replace leadno=1038 if country=="France" & leader=="Laval"
replace leadno=1039 if country=="France" & leader=="Sarraut"
replace leadno=1040 if country=="France" & leader=="Blum"
replace leadno=1041 if country=="France" & leader=="Chautemps"
replace leadno=1042 if country=="France" & leader=="Blum"
replace leadno=1043 if country=="France" & leader=="Daladier"
replace leadno=1044 if country=="France" & leader=="Reynaud"
replace leadno=1045 if country=="France" & leader=="Petain"
replace leadno=1046 if country=="France" & leader=="Laval"
replace leadno=1047 if country=="France" & leader=="De Gaulle"
replace leadno=1048 if country=="France" & leader=="Gouin"
replace leadno=1049 if country=="France" & leader=="Bidault"
replace leadno=1050 if country=="France" & leader=="Blum"
replace leadno=1051 if country=="France" & leader=="Ramadier"
replace leadno=1052 if country=="France" & leader=="Schuman"
replace leadno=1053 if country=="France" & leader=="Marie"
replace leadno=1054 if country=="France" & leader=="Schuman"
replace leadno=1055 if country=="France" & leader=="Queuille"
replace leadno=1056 if country=="France" & leader=="Bidault"
replace leadno=1057 if country=="France" & leader=="Queuille"
replace leadno=1058 if country=="France" & leader=="Pleven"
replace leadno=1059 if country=="France" & leader=="Queuille"
replace leadno=1060 if country=="France" & leader=="Pleven"
replace leadno=1061 if country=="France" & leader=="Faure"
replace leadno=1062 if country=="France" & leader=="Pinay"
replace leadno=1063 if country=="France" & leader=="Mayer"
replace leadno=1064 if country=="France" & leader=="Laniel"
replace leadno=1065 if country=="France" & leader=="Mendes-France"
replace leadno=1066 if country=="France" & leader=="Faure"
replace leadno=1067 if country=="France" & leader=="Mollet"
replace leadno=1068 if country=="France" & leader=="Bourges-Maunory"
replace leadno=1069 if country=="France" & leader=="Gaillard"
replace leadno=1070 if country=="France" & leader=="Pflimin"
replace leadno=1071 if country=="France" & leader=="De Gaulle"
replace leadno=1072 if country=="France" & leader=="Poher"
replace leadno=1073 if country=="France" & leader=="Pompidou"
replace leadno=1074 if country=="France" & leader=="Poher"
replace leadno=1075 if country=="France" & leader=="Giscard D'Estaing"
replace leadno=1076 if country=="France" & leader=="Mitterand"
replace leadno=1077 if country=="France" & leader=="Chirac"
replace leadno=1078 if country=="Gabon" & leader=="Mba"
replace leadno=1079 if country=="Gabon" & leader=="Aubaume"
replace leadno=1080 if country=="Gabon" & leader=="Mba"
replace leadno=1081 if country=="Gabon" & leader=="Bongo"
replace leadno=1082 if country=="Gambia" & leader=="Jawara"
replace leadno=1083 if country=="Gambia" & leader=="Jammeh"
replace leadno=1084 if country=="Georgia" & leader=="Gamsakhurdia"
replace leadno=1085 if country=="Georgia" & leader=="Ioseliani"
replace leadno=1086 if country=="Georgia" & leader=="Shevardnadze"
replace leadno=1087 if country=="Georgia" & leader=="Burdjanadze"
replace leadno=1088 if country=="Georgia" & leader=="Saakashvili"
replace leadno=1089 if country=="German Democratic Republic" & leader=="Wilhelm Pieck"
replace leadno=1090 if country=="German Democratic Republic" & leader=="Ulbricht"
replace leadno=1091 if country=="German Democratic Republic" & leader=="Honecker"
replace leadno=1092 if country=="German Democratic Republic" & leader=="Krenz"
replace leadno=1093 if country=="German Democratic Republic" & leader=="Gysi"
replace leadno=1094 if country=="Germany" & leader=="Wilhelm I"
replace leadno=1095 if country=="Germany" & leader=="Friedrich III"
replace leadno=1096 if country=="Germany" & leader=="Wilhelm II"
replace leadno=1097 if country=="Germany" & leader=="Ebert"
replace leadno=1098 if country=="Germany" & leader=="Scheidemann"
replace leadno=1099 if country=="Germany" & leader=="Bauer"
replace leadno=1100 if country=="Germany" & leader=="Muller"
replace leadno=1101 if country=="Germany" & leader=="Fehrenback"
replace leadno=1102 if country=="Germany" & leader=="Wirth"
replace leadno=1103 if country=="Germany" & leader=="Cuno"
replace leadno=1104 if country=="Germany" & leader=="Stresemann"
replace leadno=1105 if country=="Germany" & leader=="Marx"
replace leadno=1106 if country=="Germany" & leader=="Luther"
replace leadno=1107 if country=="Germany" & leader=="Marx"
replace leadno=1108 if country=="Germany" & leader=="Muller"
replace leadno=1109 if country=="Germany" & leader=="Bruning"
replace leadno=1110 if country=="Germany" & leader=="Papen"
replace leadno=1111 if country=="Germany" & leader=="Schleicher"
replace leadno=1112 if country=="Germany" & leader=="Hitler"
replace leadno=1113 if country=="Germany" & leader=="Doenitz"
replace leadno=1114 if country=="Germany" & leader=="Adenauer"
replace leadno=1115 if country=="Germany" & leader=="Erhard"
replace leadno=1116 if country=="Germany" & leader=="Kiesinger"
replace leadno=1117 if country=="Germany" & leader=="Brandt"
replace leadno=1118 if country=="Germany" & leader=="Schmidt"
replace leadno=1119 if country=="Germany" & leader=="Kohl"
replace leadno=1120 if country=="Germany" & leader=="Schroder"
replace leadno=1121 if country=="Ghana" & leader=="Nkrumah"
replace leadno=1122 if country=="Ghana" & leader=="Ankrah"
replace leadno=1123 if country=="Ghana" & leader=="Afrifa"
replace leadno=1124 if country=="Ghana" & leader=="Busia"
replace leadno=1125 if country=="Ghana" & leader=="Acheampong"
replace leadno=1126 if country=="Ghana" & leader=="Akuffo"
replace leadno=1127 if country=="Ghana" & leader=="Rawlings"
replace leadno=1128 if country=="Ghana" & leader=="Limann"
replace leadno=1129 if country=="Ghana" & leader=="Rawlings"
replace leadno=1130 if country=="Ghana" & leader=="John Agyekum Kufuor"
replace leadno=1131 if country=="Greece" & leader=="George I"
replace leadno=1132 if country=="Greece" & leader=="Konstantinos I"
replace leadno=1133 if country=="Greece" & leader=="Venizelos"
replace leadno=1134 if country=="Greece" & leader=="Rallis"
replace leadno=1135 if country=="Greece" & leader=="Konstantinos I"
replace leadno=1136 if country=="Greece" & leader=="Plastiras"
replace leadno=1137 if country=="Greece" & leader=="Gonatas"
replace leadno=1138 if country=="Greece" & leader=="Venizelos"
replace leadno=1139 if country=="Greece" & leader=="Kaphantaris"
replace leadno=1140 if country=="Greece" & leader=="Papanastasiou"
replace leadno=1141 if country=="Greece" & leader=="Sophoulis"
replace leadno=1142 if country=="Greece" & leader=="Michalakopoulos"
replace leadno=1143 if country=="Greece" & leader=="Pangalos"
replace leadno=1144 if country=="Greece" & leader=="Kondilis"
replace leadno=1145 if country=="Greece" & leader=="Zaimis"
replace leadno=1146 if country=="Greece" & leader=="Venizelos"
replace leadno=1147 if country=="Greece" & leader=="Papanastasiou"
replace leadno=1148 if country=="Greece" & leader=="Venizelos"
replace leadno=1149 if country=="Greece" & leader=="Tsaldaris"
replace leadno=1150 if country=="Greece" & leader=="Venizelos"
replace leadno=1151 if country=="Greece" & leader=="Plastiras"
replace leadno=1152 if country=="Greece" & leader=="Tsaldaris"
replace leadno=1153 if country=="Greece" & leader=="Kondilis"
replace leadno=1154 if country=="Greece" & leader=="Demertzis"
replace leadno=1155 if country=="Greece" & leader=="Metaxas"
replace leadno=1156 if country=="Greece" & leader=="Korizis"
replace leadno=1157 if country=="Greece" & leader=="Tsouderos"
replace leadno=1158 if country=="Greece" & leader=="G. Papandreou"
replace leadno=1159 if country=="Greece" & leader=="Plastiras"
replace leadno=1160 if country=="Greece" & leader=="Voulgaris"
replace leadno=1161 if country=="Greece" & leader=="Damaskinos"
replace leadno=1162 if country=="Greece" & leader=="Kanellopoulos"
replace leadno=1163 if country=="Greece" & leader=="Sophoulis"
replace leadno=1164 if country=="Greece" & leader=="Poulitsas"
replace leadno=1165 if country=="Greece" & leader=="K. Tsaldaris"
replace leadno=1166 if country=="Greece" & leader=="Maximos"
replace leadno=1167 if country=="Greece" & leader=="K. Tsaldaris"
replace leadno=1168 if country=="Greece" & leader=="Sophoulis"
replace leadno=1169 if country=="Greece" & leader=="Diomidis"
replace leadno=1170 if country=="Greece" & leader=="Theotokis"
replace leadno=1171 if country=="Greece" & leader=="S. Venizelos"
replace leadno=1172 if country=="Greece" & leader=="Plastiras"
replace leadno=1173 if country=="Greece" & leader=="S. Venizelos"
replace leadno=1174 if country=="Greece" & leader=="Plastiras"
replace leadno=1175 if country=="Greece" & leader=="Kiousopoulos"
replace leadno=1176 if country=="Greece" & leader=="Papagos"
replace leadno=1177 if country=="Greece" & leader=="Stephanopoulos"
replace leadno=1178 if country=="Greece" & leader=="Karamanlis"
replace leadno=1179 if country=="Greece" & leader=="Georgakopoulos"
replace leadno=1180 if country=="Greece" & leader=="Karamanlis"
replace leadno=1181 if country=="Greece" & leader=="Dovas"
replace leadno=1182 if country=="Greece" & leader=="Karamanlis"
replace leadno=1183 if country=="Greece" & leader=="Pipinelis"
replace leadno=1184 if country=="Greece" & leader=="Mavromichalis"
replace leadno=1185 if country=="Greece" & leader=="G. Papandreou"
replace leadno=1186 if country=="Greece" & leader=="Paraskevopoulos"
replace leadno=1187 if country=="Greece" & leader=="G. Papandreou"
replace leadno=1188 if country=="Greece" & leader=="Athaniadis-Novas"
replace leadno=1189 if country=="Greece" & leader=="Tsirimokos"
replace leadno=1190 if country=="Greece" & leader=="Stephanopoulos"
replace leadno=1191 if country=="Greece" & leader=="Paraskevopoulos"
replace leadno=1192 if country=="Greece" & leader=="Kanellopoulos"
replace leadno=1193 if country=="Greece" & leader=="Kollias"
replace leadno=1194 if country=="Greece" & leader=="Papadopoulos"
replace leadno=1195 if country=="Greece" & leader=="Ionannides"
replace leadno=1196 if country=="Greece" & leader=="Karamanlis"
replace leadno=1197 if country=="Greece" & leader=="Rallis"
replace leadno=1198 if country=="Greece" & leader=="A. Papandreou"
replace leadno=1199 if country=="Greece" & leader=="Tzannetakis"
replace leadno=1200 if country=="Greece" & leader=="Grivas"
replace leadno=1201 if country=="Greece" & leader=="Zolotas"
replace leadno=1202 if country=="Greece" & leader=="Mitsotakis"
replace leadno=1203 if country=="Greece" & leader=="A. Papandreou"
replace leadno=1204 if country=="Greece" & leader=="Tsokhatzopulos"
replace leadno=1205 if country=="Greece" & leader=="Simitis"
replace leadno=1206 if country=="Greece" & leader=="Konstantinos Karamanlis"
replace leadno=1207 if country=="Guatemala" & leader=="Justo Rufino Barrios"
replace leadno=1208 if country=="Guatemala" & leader=="Barillas"
replace leadno=1209 if country=="Guatemala" & leader=="Reina Barrios"
replace leadno=1210 if country=="Guatemala" & leader=="Estrada-Cabrera"
replace leadno=1211 if country=="Guatemala" & leader=="Herrera y Luna"
replace leadno=1212 if country=="Guatemala" & leader=="Orellana, J."
replace leadno=1213 if country=="Guatemala" & leader=="Chacon"
replace leadno=1214 if country=="Guatemala" & leader=="Palma"
replace leadno=1215 if country=="Guatemala" & leader=="Orellana, M."
replace leadno=1216 if country=="Guatemala" & leader=="Reyna Andrade"
replace leadno=1217 if country=="Guatemala" & leader=="Ubico Castaneda"
replace leadno=1218 if country=="Guatemala" & leader=="Ponce Valdez"
replace leadno=1219 if country=="Guatemala" & leader=="Arbenz Guzman"
replace leadno=1220 if country=="Guatemala" & leader=="Arevalo"
replace leadno=1221 if country=="Guatemala" & leader=="Arbenz Guzman"
replace leadno=1222 if country=="Guatemala" & leader=="Diaz"
replace leadno=1223 if country=="Guatemala" & leader=="Monzon"
replace leadno=1224 if country=="Guatemala" & leader=="Castillo Armas"
replace leadno=1225 if country=="Guatemala" & leader=="Gonzalez Lopez"
replace leadno=1226 if country=="Guatemala" & leader=="Mendoza Azurdia"
replace leadno=1227 if country=="Guatemala" & leader=="Flores Avendano"
replace leadno=1228 if country=="Guatemala" & leader=="Ydigoras Fuente"
replace leadno=1229 if country=="Guatemala" & leader=="Peralta Azurdia"
replace leadno=1230 if country=="Guatemala" & leader=="Mendez Montenegro"
replace leadno=1231 if country=="Guatemala" & leader=="Arana Osorio"
replace leadno=1232 if country=="Guatemala" & leader=="Laugerud Garcia"
replace leadno=1233 if country=="Guatemala" & leader=="Lucas Garcia"
replace leadno=1234 if country=="Guatemala" & leader=="Rios Montt"
replace leadno=1235 if country=="Guatemala" & leader=="Mejia Victores"
replace leadno=1236 if country=="Guatemala" & leader=="Cerezo"
replace leadno=1237 if country=="Guatemala" & leader=="Serrano Elias"
replace leadno=1238 if country=="Guatemala" & leader=="Espina Salguero"
replace leadno=1239 if country=="Guatemala" & leader=="Leon Carpio"
replace leadno=1240 if country=="Guatemala" & leader=="Arzu Yrigoyen"
replace leadno=1241 if country=="Guatemala" & leader=="Alfonso Portillo Cabrera"
replace leadno=1242 if country=="Guatemala" & leader=="Berger Perdomo"
replace leadno=1243 if country=="Guinea" & leader=="Toure"
replace leadno=1244 if country=="Guinea" & leader=="Beavogui"
replace leadno=1245 if country=="Guinea" & leader=="Conte"
replace leadno=1246 if country=="Guinea-Bissau" & leader=="Cabral"
replace leadno=1247 if country=="Guinea-Bissau" & leader=="Vieira"
replace leadno=1248 if country=="Guinea-Bissau" & leader=="Mane"
replace leadno=1249 if country=="Guinea-Bissau" & leader=="Sanha"
replace leadno=1250 if country=="Guinea-Bissau" & leader=="Kumba Iala"
replace leadno=1251 if country=="Guinea-Bissau" & leader=="Correia Seabra"
replace leadno=1252 if country=="Guinea-Bissau" & leader=="Henrique Pereira Rosa"
replace leadno=1253 if country=="Guyana" & leader=="Burnham"
replace leadno=1254 if country=="Guyana" & leader=="Hoyte"
replace leadno=1255 if country=="Guyana" & leader=="Jagan Cheddi"
replace leadno=1256 if country=="Guyana" & leader=="Samuel Hinds"
replace leadno=1257 if country=="Guyana" & leader=="Janet Jagan"
replace leadno=1258 if country=="Guyana" & leader=="Bharrat Jagdeo"
replace leadno=1259 if country=="Haiti" & leader=="Rameau"
replace leadno=1260 if country=="Haiti" & leader=="Canal"
replace leadno=1261 if country=="Haiti" & leader=="Herrise"
replace leadno=1262 if country=="Haiti" & leader=="Lamothe"
replace leadno=1263 if country=="Haiti" & leader=="Salomon"
replace leadno=1264 if country=="Haiti" & leader=="Canal"
replace leadno=1265 if country=="Haiti" & leader=="Legitime"
replace leadno=1266 if country=="Haiti" & leader=="Hippolyte"
replace leadno=1267 if country=="Haiti" & leader=="P. A. T. Simon"
replace leadno=1268 if country=="Haiti" & leader=="Canal"
replace leadno=1269 if country=="Haiti" & leader=="Nord"
replace leadno=1270 if country=="Haiti" & leader=="A. Simon"
replace leadno=1271 if country=="Haiti" & leader=="Leconte"
replace leadno=1272 if country=="Haiti" & leader=="Tancred Auguste"
replace leadno=1273 if country=="Haiti" & leader=="Michel Oreste"
replace leadno=1274 if country=="Haiti" & leader=="Oreste Zamor"
replace leadno=1275 if country=="Haiti" & leader=="Theodore"
replace leadno=1276 if country=="Haiti" & leader=="Velbrun-Guillaume"
replace leadno=1277 if country=="Haiti" & leader=="Vincent"
replace leadno=1278 if country=="Haiti" & leader=="Lescot"
replace leadno=1279 if country=="Haiti" & leader=="Lavaud"
replace leadno=1280 if country=="Haiti" & leader=="Estime"
replace leadno=1281 if country=="Haiti" & leader=="Magloire"
replace leadno=1282 if country=="Haiti" & leader=="Pierre-Louis"
replace leadno=1283 if country=="Haiti" & leader=="Sylvain"
replace leadno=1284 if country=="Haiti" & leader=="Cantave"
replace leadno=1285 if country=="Haiti" & leader=="Executive council"
replace leadno=1286 if country=="Haiti" & leader=="Cantave"
replace leadno=1287 if country=="Haiti" & leader=="Fignole"
replace leadno=1288 if country=="Haiti" & leader=="Kebreau"
replace leadno=1289 if country=="Haiti" & leader=="Duvalier, Francois"
replace leadno=1290 if country=="Haiti" & leader=="Duvalier, Jean-"
replace leadno=1291 if country=="Haiti" & leader=="Namphy"
replace leadno=1292 if country=="Haiti" & leader=="Manigat"
replace leadno=1293 if country=="Haiti" & leader=="Namphy"
replace leadno=1294 if country=="Haiti" & leader=="Avril"
replace leadno=1295 if country=="Haiti" & leader=="Abraham"
replace leadno=1296 if country=="Haiti" & leader=="Pascal-Troillet"
replace leadno=1297 if country=="Haiti" & leader=="Aristide"
replace leadno=1298 if country=="Haiti" & leader=="Cedras"
replace leadno=1299 if country=="Haiti" & leader=="Aristide"
replace leadno=1300 if country=="Haiti" & leader=="Preval"
replace leadno=1301 if country=="Haiti" & leader=="Aristide"
replace leadno=1302 if country=="Haiti" & leader=="Boniface Alexandre"
replace leadno=1303 if country=="Honduras" & leader=="Leiva"
replace leadno=1304 if country=="Honduras" & leader=="Soto"
replace leadno=1305 if country=="Honduras" & leader=="Council of Ministers"
replace leadno=1306 if country=="Honduras" & leader=="Bogran"
replace leadno=1307 if country=="Honduras" & leader=="Leiva"
replace leadno=1308 if country=="Honduras" & leader=="Vasquez"
replace leadno=1309 if country=="Honduras" & leader=="P. Bonilla"
replace leadno=1310 if country=="Honduras" & leader=="Sierra"
replace leadno=1311 if country=="Honduras" & leader=="M. Bonilla"
replace leadno=1312 if country=="Honduras" & leader=="Davila"
replace leadno=1313 if country=="Honduras" & leader=="Bertrand"
replace leadno=1314 if country=="Honduras" & leader=="M. Bonilla"
replace leadno=1315 if country=="Honduras" & leader=="Bertrand"
replace leadno=1316 if country=="Honduras" & leader=="Alberto Membreno"
replace leadno=1317 if country=="Honduras" & leader=="Bertrand"
replace leadno=1318 if country=="Honduras" & leader=="Bogran"
replace leadno=1319 if country=="Honduras" & leader=="Lopez-Gutierrez"
replace leadno=1320 if country=="Honduras" & leader=="Vicente Tosta"
replace leadno=1321 if country=="Honduras" & leader=="Paz Baraona"
replace leadno=1322 if country=="Honduras" & leader=="Mejia Colindres"
replace leadno=1323 if country=="Honduras" & leader=="Carias Andino"
replace leadno=1324 if country=="Honduras" & leader=="Galvez"
replace leadno=1325 if country=="Honduras" & leader=="Lozano Diaz"
replace leadno=1326 if country=="Honduras" & leader=="Hector Caraccioli"
replace leadno=1327 if country=="Honduras" & leader=="Villeda Morales"
replace leadno=1328 if country=="Honduras" & leader=="Lopez Arellano"
replace leadno=1329 if country=="Honduras" & leader=="Cruz"
replace leadno=1330 if country=="Honduras" & leader=="Lopez Arellano"
replace leadno=1331 if country=="Honduras" & leader=="Castro"
replace leadno=1332 if country=="Honduras" & leader=="Paz Garcia"
replace leadno=1333 if country=="Honduras" & leader=="Suazo Cordova"
replace leadno=1334 if country=="Honduras" & leader=="Azcona Hoyo"
replace leadno=1335 if country=="Honduras" & leader=="Callejas"
replace leadno=1336 if country=="Honduras" & leader=="Reina"
replace leadno=1337 if country=="Honduras" & leader=="Flores Facusse"
replace leadno=1338 if country=="Honduras" & leader=="Ricardo Maduro"
replace leadno=1339 if country=="Hungary" & leader=="Karolyi"
replace leadno=1340 if country=="Hungary" & leader=="Kun"
replace leadno=1341 if country=="Hungary" & leader=="Peidl"
replace leadno=1342 if country=="Hungary" & leader=="Friedrich"
replace leadno=1343 if country=="Hungary" & leader=="Huszar"
replace leadno=1344 if country=="Hungary" & leader=="Horthy"
replace leadno=1345 if country=="Hungary" & leader=="Rakoski"
replace leadno=1346 if country=="Hungary" & leader=="Gero"
replace leadno=1347 if country=="Hungary" & leader=="Nagy"
replace leadno=1348 if country=="Hungary" & leader=="Kadar"
replace leadno=1349 if country=="Hungary" & leader=="Grosz"
replace leadno=1350 if country=="Hungary" & leader=="Szuros"
replace leadno=1351 if country=="Hungary" & leader=="Antall"
replace leadno=1352 if country=="Hungary" & leader=="Boross"
replace leadno=1353 if country=="Hungary" & leader=="Horn"
replace leadno=1354 if country=="Hungary" & leader=="Orban"
replace leadno=1355 if country=="Hungary" & leader=="Peter Medgyessy"
replace leadno=1356 if country=="Hungary" & leader=="Ferenc Gyurcsany"
replace leadno=1357 if country=="India" & leader=="Nehru"
replace leadno=1358 if country=="India" & leader=="Nanda"
replace leadno=1359 if country=="India" & leader=="Shastri"
replace leadno=1360 if country=="India" & leader=="Nanda"
replace leadno=1361 if country=="India" & leader=="Gandhi, I."
replace leadno=1362 if country=="India" & leader=="Desai"
replace leadno=1363 if country=="India" & leader=="Charan Singh"
replace leadno=1364 if country=="India" & leader=="Gandhi, I."
replace leadno=1365 if country=="India" & leader=="Gandhi, R."
replace leadno=1366 if country=="India" & leader=="Pratap Singh"
replace leadno=1367 if country=="India" & leader=="Shekhar"
replace leadno=1368 if country=="India" & leader=="Rao"
replace leadno=1369 if country=="India" & leader=="Vajpayee"
replace leadno=1370 if country=="India" & leader=="Gowda"
replace leadno=1371 if country=="India" & leader=="Gujral"
replace leadno=1372 if country=="India" & leader=="Vajpayee"
replace leadno=1373 if country=="India" & leader=="Manmohan Singh"
replace leadno=1374 if country=="Indonesia" & leader=="Sukarno"
replace leadno=1375 if country=="Indonesia" & leader=="Louis Beel"
replace leadno=1376 if country=="Indonesia" & leader=="A. H. J. Lovink"
replace leadno=1377 if country=="Indonesia" & leader=="Sukarno"
replace leadno=1378 if country=="Indonesia" & leader=="Suharto"
replace leadno=1379 if country=="Indonesia" & leader=="Habibie"
replace leadno=1380 if country=="Indonesia" & leader=="Wahid"
replace leadno=1381 if country=="Indonesia" & leader=="Megawati Sukarnoputri"
replace leadno=1382 if country=="Indonesia" & leader=="Bambang Yudhoyono"
replace leadno=1383 if country=="Iran" & leader=="Nasir Ad-Din"
replace leadno=1384 if country=="Iran" & leader=="Muzaffar ad-Din"
replace leadno=1385 if country=="Iran" & leader=="Mohammed Ali Shah"
replace leadno=1386 if country=="Iran" & leader=="Sultan Ahmad"
replace leadno=1387 if country=="Iran" & leader=="Reza Khan"
replace leadno=1388 if country=="Iran" & leader=="Mohammad Reza"
replace leadno=1389 if country=="Iran" & leader=="Mohammad Mossadeg"
replace leadno=1390 if country=="Iran" & leader=="Mohammad Reza"
replace leadno=1391 if country=="Iran" & leader=="Ayatollah Khomeini"
replace leadno=1392 if country=="Iran" & leader=="Khamenei"
replace leadno=1393 if country=="Iran" & leader=="Rafsanjani"
replace leadno=1394 if country=="Iran" & leader=="Khatami"
replace leadno=1395 if country=="Iraq" & leader=="Faisal I"
replace leadno=1396 if country=="Iraq" & leader=="Ghazi"
replace leadno=1397 if country=="Iraq" & leader=="Abdul-Ilah"
replace leadno=1398 if country=="Iraq" & leader=="Faisal II"
replace leadno=1399 if country=="Iraq" & leader=="Karrim Kassem"
replace leadno=1400 if country=="Iraq" & leader=="Salem Aref"
replace leadno=1401 if country=="Iraq" & leader=="Rahmen Aref"
replace leadno=1402 if country=="Iraq" & leader=="Hassan Al-Bakr"
replace leadno=1403 if country=="Iraq" & leader=="Saddam Hussein"
replace leadno=1404 if country=="Iraq" & leader=="Tommy Ray Franks"
replace leadno=1405 if country=="Iraq" & leader=="Jay Garner"
replace leadno=1406 if country=="Iraq" & leader=="Paul Bremer"
replace leadno=1407 if country=="Iraq" & leader=="Iyad Allawi"
replace leadno=1408 if country=="Ireland" & leader=="de Valera"
replace leadno=1409 if country=="Ireland" & leader=="Griffith"
replace leadno=1410 if country=="Ireland" & leader=="Collins"
replace leadno=1411 if country=="Ireland" & leader=="Cosgrave, W."
replace leadno=1412 if country=="Ireland" & leader=="de Valera"
replace leadno=1413 if country=="Ireland" & leader=="Costello"
replace leadno=1414 if country=="Ireland" & leader=="de Valera"
replace leadno=1415 if country=="Ireland" & leader=="Costello"
replace leadno=1416 if country=="Ireland" & leader=="de Valera"
replace leadno=1417 if country=="Ireland" & leader=="LeMass"
replace leadno=1418 if country=="Ireland" & leader=="Lynch"
replace leadno=1419 if country=="Ireland" & leader=="Cosgrave, L."
replace leadno=1420 if country=="Ireland" & leader=="Lynch"
replace leadno=1421 if country=="Ireland" & leader=="Haughey"
replace leadno=1422 if country=="Ireland" & leader=="Fitzgerald"
replace leadno=1423 if country=="Ireland" & leader=="Haughey"
replace leadno=1424 if country=="Ireland" & leader=="Fitzgerald"
replace leadno=1425 if country=="Ireland" & leader=="Haughey"
replace leadno=1426 if country=="Ireland" & leader=="Reynolds"
replace leadno=1427 if country=="Ireland" & leader=="Bruton"
replace leadno=1428 if country=="Ireland" & leader=="Ahern"
replace leadno=1429 if country=="Israel" & leader=="Ben Gurion"
replace leadno=1430 if country=="Israel" & leader=="Sharett"
replace leadno=1431 if country=="Israel" & leader=="Ben Gurion"
replace leadno=1432 if country=="Israel" & leader=="Eshkol"
replace leadno=1433 if country=="Israel" & leader=="Allon"
replace leadno=1434 if country=="Israel" & leader=="Meir"
replace leadno=1435 if country=="Israel" & leader=="Rabin"
replace leadno=1436 if country=="Israel" & leader=="Peres"
replace leadno=1437 if country=="Israel" & leader=="Begin"
replace leadno=1438 if country=="Israel" & leader=="Shamir"
replace leadno=1439 if country=="Israel" & leader=="Peres"
replace leadno=1440 if country=="Israel" & leader=="Shamir"
replace leadno=1441 if country=="Israel" & leader=="Rabin"
replace leadno=1442 if country=="Israel" & leader=="Peres"
replace leadno=1443 if country=="Israel" & leader=="Netanyahu"
replace leadno=1444 if country=="Israel" & leader=="Barak"
replace leadno=1445 if country=="Israel" & leader=="Ariel Sharon"
replace leadno=1446 if country=="Italy" & leader=="Minghetti"
replace leadno=1447 if country=="Italy" & leader=="Depretis"
replace leadno=1448 if country=="Italy" & leader=="Cairoli"
replace leadno=1449 if country=="Italy" & leader=="Depretis"
replace leadno=1450 if country=="Italy" & leader=="Cairoli"
replace leadno=1451 if country=="Italy" & leader=="Depretis"
replace leadno=1452 if country=="Italy" & leader=="Crispi"
replace leadno=1453 if country=="Italy" & leader=="Rudini"
replace leadno=1454 if country=="Italy" & leader=="Giolitti"
replace leadno=1455 if country=="Italy" & leader=="Crispi"
replace leadno=1456 if country=="Italy" & leader=="Rudini"
replace leadno=1457 if country=="Italy" & leader=="Pelloux"
replace leadno=1458 if country=="Italy" & leader=="Saracco"
replace leadno=1459 if country=="Italy" & leader=="Zanardelli"
replace leadno=1460 if country=="Italy" & leader=="Giolitti"
replace leadno=1461 if country=="Italy" & leader=="Fortis"
replace leadno=1462 if country=="Italy" & leader=="Sonnino"
replace leadno=1463 if country=="Italy" & leader=="Giolitti"
replace leadno=1464 if country=="Italy" & leader=="Sonnino"
replace leadno=1465 if country=="Italy" & leader=="Luzzati"
replace leadno=1466 if country=="Italy" & leader=="Giolitti"
replace leadno=1467 if country=="Italy" & leader=="Salandra"
replace leadno=1468 if country=="Italy" & leader=="Boselli"
replace leadno=1469 if country=="Italy" & leader=="Orlando"
replace leadno=1470 if country=="Italy" & leader=="Nitti"
replace leadno=1471 if country=="Italy" & leader=="Giolitti"
replace leadno=1472 if country=="Italy" & leader=="Bonomi"
replace leadno=1473 if country=="Italy" & leader=="Facta"
replace leadno=1474 if country=="Italy" & leader=="Mussolini"
replace leadno=1475 if country=="Italy" & leader=="Badoglio"
replace leadno=1476 if country=="Italy" & leader=="Bonomi"
replace leadno=1477 if country=="Italy" & leader=="Parri"
replace leadno=1478 if country=="Italy" & leader=="de Gasperi"
replace leadno=1479 if country=="Italy" & leader=="Pella"
replace leadno=1480 if country=="Italy" & leader=="Fanfani"
replace leadno=1481 if country=="Italy" & leader=="Scelba"
replace leadno=1482 if country=="Italy" & leader=="Segni"
replace leadno=1483 if country=="Italy" & leader=="Zoli"
replace leadno=1484 if country=="Italy" & leader=="Fanfani"
replace leadno=1485 if country=="Italy" & leader=="Segni"
replace leadno=1486 if country=="Italy" & leader=="Tambroni"
replace leadno=1487 if country=="Italy" & leader=="Fanfani"
replace leadno=1488 if country=="Italy" & leader=="Leone"
replace leadno=1489 if country=="Italy" & leader=="Moro"
replace leadno=1490 if country=="Italy" & leader=="Leone"
replace leadno=1491 if country=="Italy" & leader=="Rumor"
replace leadno=1492 if country=="Italy" & leader=="Colombo"
replace leadno=1493 if country=="Italy" & leader=="Andreotti"
replace leadno=1494 if country=="Italy" & leader=="Rumor"
replace leadno=1495 if country=="Italy" & leader=="Moro"
replace leadno=1496 if country=="Italy" & leader=="Andreotti"
replace leadno=1497 if country=="Italy" & leader=="Cossiga"
replace leadno=1498 if country=="Italy" & leader=="Forlani"
replace leadno=1499 if country=="Italy" & leader=="Spadolini"
replace leadno=1500 if country=="Italy" & leader=="Fanfani"
replace leadno=1501 if country=="Italy" & leader=="Craxi"
replace leadno=1502 if country=="Italy" & leader=="Fanfani"
replace leadno=1503 if country=="Italy" & leader=="Goria"
replace leadno=1504 if country=="Italy" & leader=="Mita"
replace leadno=1505 if country=="Italy" & leader=="Andreotti"
replace leadno=1506 if country=="Italy" & leader=="Amato"
replace leadno=1507 if country=="Italy" & leader=="Ciampi"
replace leadno=1508 if country=="Italy" & leader=="Berlusconi"
replace leadno=1509 if country=="Italy" & leader=="Dini"
replace leadno=1510 if country=="Italy" & leader=="Prodi"
replace leadno=1511 if country=="Italy" & leader=="D'Alema"
replace leadno=1512 if country=="Italy" & leader=="Amato"
replace leadno=1513 if country=="Italy" & leader=="Berlusconi"
replace leadno=1514 if country=="Jamaica" & leader=="Bustamante"
replace leadno=1515 if country=="Jamaica" & leader=="Sangster"
replace leadno=1516 if country=="Jamaica" & leader=="Shearer"
replace leadno=1517 if country=="Jamaica" & leader=="Manley"
replace leadno=1518 if country=="Jamaica" & leader=="Seaga"
replace leadno=1519 if country=="Jamaica" & leader=="Manley"
replace leadno=1520 if country=="Jamaica" & leader=="Patterson"
replace leadno=1521 if country=="Japan" & leader=="Mutsuhito (Emperor)"
replace leadno=1522 if country=="Japan" & leader=="Ito"
replace leadno=1523 if country=="Japan" & leader=="Kuroda"
replace leadno=1524 if country=="Japan" & leader=="Yamagata"
replace leadno=1525 if country=="Japan" & leader=="Matsukata"
replace leadno=1526 if country=="Japan" & leader=="Ito"
replace leadno=1527 if country=="Japan" & leader=="Matsukata"
replace leadno=1528 if country=="Japan" & leader=="Kuroda"
replace leadno=1529 if country=="Japan" & leader=="Matsukata"
replace leadno=1530 if country=="Japan" & leader=="Ito"
replace leadno=1531 if country=="Japan" & leader=="Okuma"
replace leadno=1532 if country=="Japan" & leader=="Yamagata"
replace leadno=1533 if country=="Japan" & leader=="Ito"
replace leadno=1534 if country=="Japan" & leader=="Saionji"
replace leadno=1535 if country=="Japan" & leader=="Katsura"
replace leadno=1536 if country=="Japan" & leader=="Saionji"
replace leadno=1537 if country=="Japan" & leader=="Katsura"
replace leadno=1538 if country=="Japan" & leader=="Saionji"
replace leadno=1539 if country=="Japan" & leader=="Katsura"
replace leadno=1540 if country=="Japan" & leader=="Yamamoto, G."
replace leadno=1541 if country=="Japan" & leader=="Okuma"
replace leadno=1542 if country=="Japan" & leader=="Terauchi"
replace leadno=1543 if country=="Japan" & leader=="Hara, T."
replace leadno=1544 if country=="Japan" & leader=="Uchida"
replace leadno=1545 if country=="Japan" & leader=="Takahashi, K."
replace leadno=1546 if country=="Japan" & leader=="Kato, Tomosaburo"
replace leadno=1547 if country=="Japan" & leader=="Uchida"
replace leadno=1548 if country=="Japan" & leader=="Yamamoto, G."
replace leadno=1549 if country=="Japan" & leader=="Kiyoura"
replace leadno=1550 if country=="Japan" & leader=="Kato, Takaaki"
replace leadno=1551 if country=="Japan" & leader=="Wakatsuki"
replace leadno=1552 if country=="Japan" & leader=="Tanaka, G."
replace leadno=1553 if country=="Japan" & leader=="Hamaguchi"
replace leadno=1554 if country=="Japan" & leader=="Shidehara"
replace leadno=1555 if country=="Japan" & leader=="Wakatsuki"
replace leadno=1556 if country=="Japan" & leader=="Inukai"
replace leadno=1557 if country=="Japan" & leader=="Takahashi, K."
replace leadno=1558 if country=="Japan" & leader=="Saito, M."
replace leadno=1559 if country=="Japan" & leader=="Okada"
replace leadno=1560 if country=="Japan" & leader=="Hirota"
replace leadno=1561 if country=="Japan" & leader=="Hayashi"
replace leadno=1562 if country=="Japan" & leader=="Konoe, F."
replace leadno=1563 if country=="Japan" & leader=="Hiranuma"
replace leadno=1564 if country=="Japan" & leader=="Abe, M."
replace leadno=1565 if country=="Japan" & leader=="Yonai"
replace leadno=1566 if country=="Japan" & leader=="Konoe, F."
replace leadno=1567 if country=="Japan" & leader=="Tojo"
replace leadno=1568 if country=="Japan" & leader=="Koiso"
replace leadno=1569 if country=="Japan" & leader=="Suzuki, Kantaro"
replace leadno=1570 if country=="Japan" & leader=="Douglas MacArthur"
replace leadno=1571 if country=="Japan" & leader=="Matthew Bunker Ridgway"
replace leadno=1572 if country=="Japan" & leader=="Yoshida, Shigeru"
replace leadno=1573 if country=="Japan" & leader=="Hatoyama"
replace leadno=1574 if country=="Japan" & leader=="Ishibashi"
replace leadno=1575 if country=="Japan" & leader=="Kishi"
replace leadno=1576 if country=="Japan" & leader=="Ikeda"
replace leadno=1577 if country=="Japan" & leader=="Sato"
replace leadno=1578 if country=="Japan" & leader=="Tanaka"
replace leadno=1579 if country=="Japan" & leader=="Miki"
replace leadno=1580 if country=="Japan" & leader=="Fukuda"
replace leadno=1581 if country=="Japan" & leader=="Ohira"
replace leadno=1582 if country=="Japan" & leader=="Ito"
replace leadno=1583 if country=="Japan" & leader=="Suzuki"
replace leadno=1584 if country=="Japan" & leader=="Nakasone"
replace leadno=1585 if country=="Japan" & leader=="Takeshita"
replace leadno=1586 if country=="Japan" & leader=="Uno"
replace leadno=1587 if country=="Japan" & leader=="Kaifu"
replace leadno=1588 if country=="Japan" & leader=="Miyazawa"
replace leadno=1589 if country=="Japan" & leader=="Hosokawa"
replace leadno=1590 if country=="Japan" & leader=="Hata"
replace leadno=1591 if country=="Japan" & leader=="Murayama"
replace leadno=1592 if country=="Japan" & leader=="Hashimoto"
replace leadno=1593 if country=="Japan" & leader=="Obuchi"
replace leadno=1594 if country=="Japan" & leader=="Mikio Aoki"
replace leadno=1595 if country=="Japan" & leader=="Yoshiro Mori"
replace leadno=1596 if country=="Japan" & leader=="Junichiro Koizumi"
replace leadno=1597 if country=="Jordan" & leader=="Abdullah Al-Hussein"
replace leadno=1598 if country=="Jordan" & leader=="Abdullah El-Hashim"
replace leadno=1599 if country=="Jordan" & leader=="Ibn Abdullah-Hashim"
replace leadno=1600 if country=="Jordan" & leader=="Hussein Ibn Talal El-Hashim"
replace leadno=1601 if country=="Jordan" & leader=="Abdullah Ibn Hussein El-Hashimi"
replace leadno=1602 if country=="Kazakhstan" & leader=="Nazarbaev"
replace leadno=1603 if country=="Kenya" & leader=="Kenyatta"
replace leadno=1604 if country=="Kenya" & leader=="Moi"
replace leadno=1605 if country=="Kenya" & leader=="Mwai Kibaki"
replace leadno=1606 if country=="Kuwait" & leader=="Abdullah As-Sabah"
replace leadno=1607 if country=="Kuwait" & leader=="Sabah As-Sabah"
replace leadno=1608 if country=="Kuwait" & leader=="Jabir As-Sabah"
replace leadno=1609 if country=="Kuwait" & leader=="Jabir As-Sabah"
replace leadno=1610 if country=="Kyrgyz Republic" & leader=="Akayev"
replace leadno=1611 if country=="Laos" & leader=="Souvanna Phouma"
replace leadno=1612 if country=="Laos" & leader=="Katay Don Sasorith"
replace leadno=1613 if country=="Laos" & leader=="Souvanna Phouma"
replace leadno=1614 if country=="Laos" & leader=="Sananikone"
replace leadno=1615 if country=="Laos" & leader=="Nosavan"
replace leadno=1616 if country=="Laos" & leader=="Kou Abhay Og Long"
replace leadno=1617 if country=="Laos" & leader=="Somsanith"
replace leadno=1618 if country=="Laos" & leader=="Kong Le"
replace leadno=1619 if country=="Laos" & leader=="Souvanna Phouma"
replace leadno=1620 if country=="Laos" & leader=="Boun Oum"
replace leadno=1621 if country=="Laos" & leader=="Souvanna Phouma"
replace leadno=1622 if country=="Laos" & leader=="Kouprasith"
replace leadno=1623 if country=="Laos" & leader=="Souvanna Phouma"
replace leadno=1624 if country=="Laos" & leader=="Phomivan"
replace leadno=1625 if country=="Laos" & leader=="Phounsavanh"
replace leadno=1626 if country=="Laos" & leader=="Siphandon"
replace leadno=1627 if country=="Latvia" & leader=="Ulmanis"
replace leadno=1628 if country=="Latvia" & leader=="Oskars Borkovskis"
replace leadno=1629 if country=="Latvia" & leader=="Andrievs Niedra"
replace leadno=1630 if country=="Latvia" & leader=="Ulmanis"
replace leadno=1631 if country=="Latvia" & leader=="Meierovics"
replace leadno=1632 if country=="Latvia" & leader=="Pauluks"
replace leadno=1633 if country=="Latvia" & leader=="Meierovics"
replace leadno=1634 if country=="Latvia" & leader=="Zamuelis"
replace leadno=1635 if country=="Latvia" & leader=="Celmins"
replace leadno=1636 if country=="Latvia" & leader=="Ulmanis"
replace leadno=1637 if country=="Latvia" & leader=="Alberings"
replace leadno=1638 if country=="Latvia" & leader=="Skujenieks"
replace leadno=1639 if country=="Latvia" & leader=="Juresevskis"
replace leadno=1640 if country=="Latvia" & leader=="Celmins"
replace leadno=1641 if country=="Latvia" & leader=="Ulmanis"
replace leadno=1642 if country=="Latvia" & leader=="Skujenieks"
replace leadno=1643 if country=="Latvia" & leader=="Blodnieks"
replace leadno=1644 if country=="Latvia" & leader=="Ulmanis"
replace leadno=1645 if country=="Latvia" & leader=="Godmanis"
replace leadno=1646 if country=="Latvia" & leader=="Birkavs"
replace leadno=1647 if country=="Latvia" & leader=="Gailis"
replace leadno=1648 if country=="Latvia" & leader=="Skele"
replace leadno=1649 if country=="Latvia" & leader=="Krasts"
replace leadno=1650 if country=="Latvia" & leader=="Kristopans"
replace leadno=1651 if country=="Latvia" & leader=="Skele"
replace leadno=1652 if country=="Latvia" & leader=="Berzins"
replace leadno=1653 if country=="Latvia" & leader=="Repse"
replace leadno=1654 if country=="Latvia" & leader=="Indulis Emsis"
replace leadno=1655 if country=="Latvia" & leader=="Aigars Kalvitis"
replace leadno=1656 if country=="Lebanon" & leader=="EL Khoury"
replace leadno=1657 if country=="Lebanon" & leader=="Chebab"
replace leadno=1658 if country=="Lebanon" & leader=="Chamoun"
replace leadno=1659 if country=="Lebanon" & leader=="Chehab"
replace leadno=1660 if country=="Lebanon" & leader=="Helou"
replace leadno=1661 if country=="Lebanon" & leader=="Franjieh"
replace leadno=1662 if country=="Lebanon" & leader=="Sarkis"
replace leadno=1663 if country=="Lebanon" & leader=="Gemayel, Amin"

save "C:\Democracy\edreynal work1.dta", replace

use "C:\Democracy\edreynal work1.dta", clear
replace leadno=1664 if country=="Lebanon" & leader=="Aoun"
replace leadno=1665 if country=="Lebanon" & leader=="Moawad"
replace leadno=1666 if country=="Lebanon" & leader=="Elias Hrawi"
replace leadno=1667 if country=="Lebanon" & leader=="Emile Lahoud"
replace leadno=1668 if country=="Lesotho" & leader=="Jonathan"
replace leadno=1669 if country=="Lesotho" & leader=="Lekhanya"
replace leadno=1670 if country=="Lesotho" & leader=="Ramaema"
replace leadno=1671 if country=="Lesotho" & leader=="Mokhehle"
replace leadno=1672 if country=="Lesotho" & leader=="Letsie III"
replace leadno=1673 if country=="Lesotho" & leader=="Mokhehle"
replace leadno=1674 if country=="Lesotho" & leader=="Mosisili"
replace leadno=1675 if country=="Liberia" & leader=="Joseph Jenkins Roberts"
replace leadno=1676 if country=="Liberia" & leader=="Anthony William Gardiner"
replace leadno=1677 if country=="Liberia" & leader=="James Spriggs Payne"
replace leadno=1678 if country=="Liberia" & leader=="Anthony William Gardiner"
replace leadno=1679 if country=="Liberia" & leader=="Alfred Francis Russell"
replace leadno=1680 if country=="Liberia" & leader=="Hilary Richard Wright Johnson"
replace leadno=1681 if country=="Liberia" & leader=="Joseph James Cheeseman"
replace leadno=1682 if country=="Liberia" & leader=="William David Coleman"
replace leadno=1683 if country=="Liberia" & leader=="Garretson Wilmot Gibson"
replace leadno=1684 if country=="Liberia" & leader=="Arthur Barclay"
replace leadno=1685 if country=="Liberia" & leader=="Daniel E. Howard"
replace leadno=1686 if country=="Liberia" & leader=="Burgess King"
replace leadno=1687 if country=="Liberia" & leader=="Edwin Barclay"
replace leadno=1688 if country=="Liberia" & leader=="Tubman"
replace leadno=1689 if country=="Liberia" & leader=="Tolbert"
replace leadno=1690 if country=="Liberia" & leader=="Doe"
replace leadno=1691 if country=="Liberia" & leader=="Sawyer"
replace leadno=1692 if country=="Liberia" & leader=="Kpormapkor"
replace leadno=1693 if country=="Liberia" & leader=="Sankawulo"
replace leadno=1694 if country=="Liberia" & leader=="Perry"
replace leadno=1695 if country=="Liberia" & leader=="Taylor"
replace leadno=1696 if country=="Liberia" & leader=="Moses Zeh Blah"
replace leadno=1697 if country=="Liberia" & leader=="Bryant"
replace leadno=1698 if country=="Libya" & leader=="Idris"
replace leadno=1699 if country=="Libya" & leader=="Qaddafi"
replace leadno=1700 if country=="Lithuania" & leader=="Smetona"
replace leadno=1701 if country=="Lithuania" & leader=="Mindaugas II"
replace leadno=1702 if country=="Lithuania" & leader=="Smetona"
replace leadno=1703 if country=="Lithuania" & leader=="Stulginskis"
replace leadno=1704 if country=="Lithuania" & leader=="Grinius"
replace leadno=1705 if country=="Lithuania" & leader=="Smetona"
replace leadno=1706 if country=="Lithuania" & leader=="Landsbergis"
replace leadno=1707 if country=="Lithuania" & leader=="Brazauskas"
replace leadno=1708 if country=="Lithuania" & leader=="Adamkus"
replace leadno=1709 if country=="Lithuania" & leader=="Paksas"
replace leadno=1710 if country=="Lithuania" & leader=="Paulauskas"
replace leadno=1711 if country=="Lithuania" & leader=="Adamkus"
replace leadno=1712 if country=="Macedonia" & leader=="Nikola Kljusev"
replace leadno=1713 if country=="Macedonia" & leader=="Crvenkovski"
replace leadno=1714 if country=="Macedonia" & leader=="Georgievski"
replace leadno=1715 if country=="Macedonia" & leader=="Crvenkovski"
replace leadno=1716 if country=="Macedonia" & leader=="Radmila Sekerinska"
replace leadno=1717 if country=="Macedonia" & leader=="Hari Kostov"
replace leadno=1718 if country=="Macedonia" & leader=="Radmila Sekerinska"
replace leadno=1719 if country=="Macedonia" & leader=="Vlado Buckovski"
replace leadno=1720 if country=="Madagascar" & leader=="Rainilaiarivony"
replace leadno=1721 if country=="Madagascar" & leader=="Tsiranana"
replace leadno=1722 if country=="Madagascar" & leader=="Ramanantsoa"
replace leadno=1723 if country=="Madagascar" & leader=="Ratsimandrava"
replace leadno=1724 if country=="Madagascar" & leader=="Gilles Andriamahazo"
replace leadno=1725 if country=="Madagascar" & leader=="Ratsiraka"
replace leadno=1726 if country=="Madagascar" & leader=="Zafy"
replace leadno=1727 if country=="Madagascar" & leader=="Ratsirahonana"
replace leadno=1728 if country=="Madagascar" & leader=="Ratsiraka"
replace leadno=1729 if country=="Madagascar" & leader=="Marc Ravalomanana"
replace leadno=1730 if country=="Malawi" & leader=="Banda"
replace leadno=1731 if country=="Malawi" & leader=="Muluzi"
replace leadno=1732 if country=="Malawi" & leader=="Bingu wa Mutharika"
replace leadno=1733 if country=="Malaysia" & leader=="Rahman"
replace leadno=1734 if country=="Malaysia" & leader=="Razak"
replace leadno=1735 if country=="Malaysia" & leader=="Rahman"
replace leadno=1736 if country=="Malaysia" & leader=="Razak"
replace leadno=1737 if country=="Malaysia" & leader=="Hussein Bin Onn"
replace leadno=1738 if country=="Malaysia" & leader=="Mahatir Bin Mohammad"
replace leadno=1739 if country=="Malaysia" & leader=="Ahmad Badawi"
replace leadno=1740 if country=="Mali" & leader=="Keita"
replace leadno=1741 if country=="Mali" & leader=="Traore"
replace leadno=1742 if country=="Mali" & leader=="Amadou Toure"
replace leadno=1743 if country=="Mali" & leader=="Konare"
replace leadno=1744 if country=="Mali" & leader=="Amadou Toure"
replace leadno=1745 if country=="Mauritania" & leader=="Ould Daddah"
replace leadno=1746 if country=="Mauritania" & leader=="Ould Mohamed Salek"
replace leadno=1747 if country=="Mauritania" & leader=="Ould Bouceif"
replace leadno=1748 if country=="Mauritania" & leader=="Ould Sidi"
replace leadno=1749 if country=="Mauritania" & leader=="Ould Ahmed Louly"
replace leadno=1750 if country=="Mauritania" & leader=="Ould Haidalla"
replace leadno=1751 if country=="Mauritania" & leader=="Sidi Ahmed Taya"
replace leadno=1752 if country=="Mauritius" & leader=="Ramgoolam"
replace leadno=1753 if country=="Mauritius" & leader=="Anerood Jugnauth"
replace leadno=1754 if country=="Mauritius" & leader=="Ramgoolam N."
replace leadno=1755 if country=="Mauritius" & leader=="Anerood Jugnauth"
replace leadno=1756 if country=="Mauritius" & leader=="Paul Berenger"
replace leadno=1757 if country=="Mexico" & leader=="de Tejada"
replace leadno=1758 if country=="Mexico" & leader=="Diaz"
replace leadno=1759 if country=="Mexico" & leader=="de la Barra"
replace leadno=1760 if country=="Mexico" & leader=="Madero"
replace leadno=1761 if country=="Mexico" & leader=="Huerta"
replace leadno=1762 if country=="Mexico" & leader=="Carranza"
replace leadno=1763 if country=="Mexico" & leader=="de la Huerta, A"
replace leadno=1764 if country=="Mexico" & leader=="Obregon"
replace leadno=1765 if country=="Mexico" & leader=="Calles"
replace leadno=1766 if country=="Mexico" & leader=="Portes Gil"
replace leadno=1767 if country=="Mexico" & leader=="Ortiz Rubio"
replace leadno=1768 if country=="Mexico" & leader=="Rodriguez"
replace leadno=1769 if country=="Mexico" & leader=="Cardenas"
replace leadno=1770 if country=="Mexico" & leader=="Avila Camacho"
replace leadno=1771 if country=="Mexico" & leader=="Aleman Valdes"
replace leadno=1772 if country=="Mexico" & leader=="Ruiz Cortines"
replace leadno=1773 if country=="Mexico" & leader=="Lopez Mateos"
replace leadno=1774 if country=="Mexico" & leader=="Diaz Ordaz"
replace leadno=1775 if country=="Mexico" & leader=="Echeverria Alvarez"
replace leadno=1776 if country=="Mexico" & leader=="Lopez Portillo"
replace leadno=1777 if country=="Mexico" & leader=="de La Madrid"
replace leadno=1778 if country=="Mexico" & leader=="Salinas"
replace leadno=1779 if country=="Mexico" & leader=="Zedillo"
replace leadno=1780 if country=="Mexico" & leader=="Vicente Fox Quesada"
replace leadno=1781 if country=="Moldova" & leader=="Snegur"
replace leadno=1782 if country=="Moldova" & leader=="Lucinschi"
replace leadno=1783 if country=="Moldova" & leader=="Tarlev"
replace leadno=1784 if country=="Mongolia" & leader=="Chagdarjav"
replace leadno=1785 if country=="Mongolia" & leader=="Dogsomyn Bodo"
replace leadno=1786 if country=="Mongolia" & leader=="Sukhebaatur"
replace leadno=1787 if country=="Mongolia" & leader=="Danzin"
replace leadno=1788 if country=="Mongolia" & leader=="Elbek-Dorzhi Rinchino"
replace leadno=1789 if country=="Mongolia" & leader=="Dambadorji"
replace leadno=1790 if country=="Mongolia" & leader=="Gendun"
replace leadno=1791 if country=="Mongolia" & leader=="Choibalsan"
replace leadno=1792 if country=="Mongolia" & leader=="Tsedenbal"
replace leadno=1793 if country=="Mongolia" & leader=="Batmonh"
replace leadno=1794 if country=="Mongolia" & leader=="Ochirbat"
replace leadno=1795 if country=="Mongolia" & leader=="Bagabandi"
replace leadno=1796 if country=="Morocco" & leader=="Abu Ali al-Hasan"
replace leadno=1797 if country=="Morocco" & leader=="Abd al-Aziz"
replace leadno=1798 if country=="Morocco" & leader=="Mohammed V"
replace leadno=1799 if country=="Morocco" & leader=="Hassan II"
replace leadno=1800 if country=="Morocco" & leader=="Muhammad VI"
replace leadno=1801 if country=="Mozambique" & leader=="Machel"
replace leadno=1802 if country=="Mozambique" & leader=="Chissano"
replace leadno=1803 if country=="Myanmar" & leader=="Mindon Min"
replace leadno=1804 if country=="Myanmar" & leader=="Thibaw Min"
replace leadno=1805 if country=="Myanmar" & leader=="Taingda Mingyi"
replace leadno=1806 if country=="Myanmar" & leader=="U Nu"
replace leadno=1807 if country=="Myanmar" & leader=="U Ba Swe"
replace leadno=1808 if country=="Myanmar" & leader=="U Nu"
replace leadno=1809 if country=="Myanmar" & leader=="Ne Win"
replace leadno=1810 if country=="Myanmar" & leader=="U Nu"
replace leadno=1811 if country=="Myanmar" & leader=="Ne Win"
replace leadno=1812 if country=="Myanmar" & leader=="Sein Lwin"
replace leadno=1813 if country=="Myanmar" & leader=="Maung Maung"
replace leadno=1814 if country=="Myanmar" & leader=="Saw Maung"
replace leadno=1815 if country=="Myanmar" & leader=="Than Shwe"
replace leadno=1816 if country=="Namibia" & leader=="Nujoma"
replace leadno=1817 if country=="Nepal" & leader=="Jang Bahadur Kunwar"
replace leadno=1818 if country=="Nepal" & leader=="Rana Udip Singh"
replace leadno=1819 if country=="Nepal" & leader=="Bira Shamsher Jang Bahadur Rana"
replace leadno=1820 if country=="Nepal" & leader=="Dev Shumshere Jung Bahadur Rana"
replace leadno=1821 if country=="Nepal" & leader=="Chandra Rana"
replace leadno=1822 if country=="Nepal" & leader=="Bhim Rana"
replace leadno=1823 if country=="Nepal" & leader=="Juddha Rana"
replace leadno=1824 if country=="Nepal" & leader=="Padma Rana"
replace leadno=1825 if country=="Nepal" & leader=="Mohan Rana"
replace leadno=1826 if country=="Nepal" & leader=="Tribhuvan"
replace leadno=1827 if country=="Nepal" & leader=="Mahendra"
replace leadno=1828 if country=="Nepal" & leader=="Birendra"
replace leadno=1829 if country=="Nepal" & leader=="Krishna Prasad Bhatterai"
replace leadno=1830 if country=="Nepal" & leader=="Girija Prasad Koirala"
replace leadno=1831 if country=="Nepal" & leader=="Man Mohan Adhilari"
replace leadno=1832 if country=="Nepal" & leader=="Sher Bahadur Deuba"
replace leadno=1833 if country=="Nepal" & leader=="Lokendra Bahadur Chand"
replace leadno=1834 if country=="Nepal" & leader=="Surya  Bahadur Thapa"
replace leadno=1835 if country=="Nepal" & leader=="Girija Prasad Koirala"
replace leadno=1836 if country=="Nepal" & leader=="Krishna Prasad Bhatterai"
replace leadno=1837 if country=="Nepal" & leader=="Girija Prasad Koirala"
replace leadno=1838 if country=="Nepal" & leader=="Sher Bahdur Deuba"
replace leadno=1839 if country=="Nepal" & leader=="Lokendra Bahadur Chand"
replace leadno=1840 if country=="Nepal" & leader=="Surya Bahadur Thapa"
replace leadno=1841 if country=="Nepal" & leader=="Sher Bahdur Deuba"
replace leadno=1842 if country=="Netherlands" & leader=="Heemskerk, JA"
replace leadno=1843 if country=="Netherlands" & leader=="Kappeye van de Coppello"
replace leadno=1844 if country=="Netherlands" & leader=="van Lynden"
replace leadno=1845 if country=="Netherlands" & leader=="Heemskerk, JA"
replace leadno=1846 if country=="Netherlands" & leader=="Mackay"
replace leadno=1847 if country=="Netherlands" & leader=="van Tienhoven"
replace leadno=1848 if country=="Netherlands" & leader=="Roell"
replace leadno=1849 if country=="Netherlands" & leader=="Pierson"
replace leadno=1850 if country=="Netherlands" & leader=="Kuyper"
replace leadno=1851 if country=="Netherlands" & leader=="de Meester"
replace leadno=1852 if country=="Netherlands" & leader=="Heemskerk, T"
replace leadno=1853 if country=="Netherlands" & leader=="van der Linden"
replace leadno=1854 if country=="Netherlands" & leader=="de Beerenbrouck"
replace leadno=1855 if country=="Netherlands" & leader=="Colijn"
replace leadno=1856 if country=="Netherlands" & leader=="de Geer"
replace leadno=1857 if country=="Netherlands" & leader=="de Beerenbrouck"
replace leadno=1858 if country=="Netherlands" & leader=="Colijn"
replace leadno=1859 if country=="Netherlands" & leader=="de Geer"
replace leadno=1860 if country=="Netherlands" & leader=="Schermerhorn"
replace leadno=1861 if country=="Netherlands" & leader=="Beel"
replace leadno=1862 if country=="Netherlands" & leader=="Drees"
replace leadno=1863 if country=="Netherlands" & leader=="Beel"
replace leadno=1864 if country=="Netherlands" & leader=="de Quay"
replace leadno=1865 if country=="Netherlands" & leader=="Marijnen"
replace leadno=1866 if country=="Netherlands" & leader=="Cals"
replace leadno=1867 if country=="Netherlands" & leader=="Zijlstra"
replace leadno=1868 if country=="Netherlands" & leader=="De Jong"
replace leadno=1869 if country=="Netherlands" & leader=="Biesheuvel"
replace leadno=1870 if country=="Netherlands" & leader=="den Uyl"
replace leadno=1871 if country=="Netherlands" & leader=="van Agt"
replace leadno=1872 if country=="Netherlands" & leader=="Lubbers"
replace leadno=1873 if country=="Netherlands" & leader=="Kok"
replace leadno=1874 if country=="Netherlands" & leader=="Jan Peter Balkenende"
replace leadno=1875 if country=="New Zealand" & leader=="Ward"
replace leadno=1876 if country=="New Zealand" & leader=="Thomas Mackenzie"
replace leadno=1877 if country=="New Zealand" & leader=="Massey"
replace leadno=1878 if country=="New Zealand" & leader=="Bell"
replace leadno=1879 if country=="New Zealand" & leader=="Coates"
replace leadno=1880 if country=="New Zealand" & leader=="Ward"
replace leadno=1881 if country=="New Zealand" & leader=="Forbes"
replace leadno=1882 if country=="New Zealand" & leader=="Savage"
replace leadno=1883 if country=="New Zealand" & leader=="Fraser"
replace leadno=1884 if country=="New Zealand" & leader=="Holland"
replace leadno=1885 if country=="New Zealand" & leader=="Holyoake"
replace leadno=1886 if country=="New Zealand" & leader=="Nash"
replace leadno=1887 if country=="New Zealand" & leader=="Holyoake"
replace leadno=1888 if country=="New Zealand" & leader=="Marshall"
replace leadno=1889 if country=="New Zealand" & leader=="Kirk"
replace leadno=1890 if country=="New Zealand" & leader=="Rowling"
replace leadno=1891 if country=="New Zealand" & leader=="Muldoon"
replace leadno=1892 if country=="New Zealand" & leader=="Lange"
replace leadno=1893 if country=="New Zealand" & leader=="Palmer"
replace leadno=1894 if country=="New Zealand" & leader=="Moore"
replace leadno=1895 if country=="New Zealand" & leader=="Bolger"
replace leadno=1896 if country=="New Zealand" & leader=="Shipley"
replace leadno=1897 if country=="New Zealand" & leader=="Clark"
replace leadno=1898 if country=="Nicaragua" & leader=="Quadra"
replace leadno=1899 if country=="Nicaragua" & leader=="Chamorro"
replace leadno=1900 if country=="Nicaragua" & leader=="Zavala"
replace leadno=1901 if country=="Nicaragua" & leader=="Cardenas"
replace leadno=1902 if country=="Nicaragua" & leader=="Carazo"
replace leadno=1903 if country=="Nicaragua" & leader=="Sacasa"
replace leadno=1904 if country=="Nicaragua" & leader=="Zelaya"
replace leadno=1905 if country=="Nicaragua" & leader=="Madriz"
replace leadno=1906 if country=="Nicaragua" & leader=="J. D. Estrada"
replace leadno=1907 if country=="Nicaragua" & leader=="J. J. Estrada"
replace leadno=1908 if country=="Nicaragua" & leader=="Adolfo Diaz"
replace leadno=1909 if country=="Nicaragua" & leader=="Chamorro Vargas"
replace leadno=1910 if country=="Nicaragua" & leader=="Diego Chamorro"
replace leadno=1911 if country=="Nicaragua" & leader=="Martinez Bartol"
replace leadno=1912 if country=="Nicaragua" & leader=="Solorzano"
replace leadno=1913 if country=="Nicaragua" & leader=="Chamorro Vargas"
replace leadno=1914 if country=="Nicaragua" & leader=="Adolfo Diaz"
replace leadno=1915 if country=="Nicaragua" & leader=="Moncada"
replace leadno=1916 if country=="Nicaragua" & leader=="Sacasa, Juan"
replace leadno=1917 if country=="Nicaragua" & leader=="Jarquin"
replace leadno=1918 if country=="Nicaragua" & leader=="Anastasio Somoza Garcia"
replace leadno=1919 if country=="Nicaragua" & leader=="Arguello"
replace leadno=1920 if country=="Nicaragua" & leader=="Anastasio Somoza Garcia"
replace leadno=1921 if country=="Nicaragua" & leader=="Luis Somoza Debayle"
replace leadno=1922 if country=="Nicaragua" & leader=="Shick Gutierrez"
replace leadno=1923 if country=="Nicaragua" & leader=="Guerrero Gutierrez"
replace leadno=1924 if country=="Nicaragua" & leader=="Anastasio Somoza Debayle"
replace leadno=1925 if country=="Nicaragua" & leader=="Daniel Ortega"
replace leadno=1926 if country=="Nicaragua" & leader=="Violeta Chamorro"
replace leadno=1927 if country=="Nicaragua" & leader=="Aleman"
replace leadno=1928 if country=="Nicaragua" & leader=="Enrique Bolanos"
replace leadno=1929 if country=="Niger" & leader=="Diori"
replace leadno=1930 if country=="Niger" & leader=="Kountche"
replace leadno=1931 if country=="Niger" & leader=="Seibou"
replace leadno=1932 if country=="Niger" & leader=="Ousmane"
replace leadno=1933 if country=="Niger" & leader=="Mainassara"
replace leadno=1934 if country=="Niger" & leader=="Wanke"
replace leadno=1935 if country=="Niger" & leader=="Mamadou"
replace leadno=1936 if country=="Nigeria" & leader=="Balewa"
replace leadno=1937 if country=="Nigeria" & leader=="Ironsi"
replace leadno=1938 if country=="Nigeria" & leader=="Gowon"
replace leadno=1939 if country=="Nigeria" & leader=="Ramat Mohammed"
replace leadno=1940 if country=="Nigeria" & leader=="Obasanjo"
replace leadno=1941 if country=="Nigeria" & leader=="Shagari"
replace leadno=1942 if country=="Nigeria" & leader=="Buhari"
replace leadno=1943 if country=="Nigeria" & leader=="Babangida"
replace leadno=1944 if country=="Nigeria" & leader=="Shonekan"
replace leadno=1945 if country=="Nigeria" & leader=="Abacha"
replace leadno=1946 if country=="Nigeria" & leader=="Abubakar"
replace leadno=1947 if country=="Nigeria" & leader=="Obasanjo"
replace leadno=1948 if country=="North Korea" & leader=="Kim Il-Sung"
replace leadno=1949 if country=="North Korea" & leader=="Kim Jong-Il"
replace leadno=1950 if country=="Norway" & leader=="Michelsen"
replace leadno=1951 if country=="Norway" & leader=="Lovland"
replace leadno=1952 if country=="Norway" & leader=="Knudsen"
replace leadno=1953 if country=="Norway" & leader=="Konow"
replace leadno=1954 if country=="Norway" & leader=="Bratlie"
replace leadno=1955 if country=="Norway" & leader=="Knudsen"
replace leadno=1956 if country=="Norway" & leader=="Halvorsen"
replace leadno=1957 if country=="Norway" & leader=="Blehr"
replace leadno=1958 if country=="Norway" & leader=="Halvorsen"
replace leadno=1959 if country=="Norway" & leader=="Berge"
replace leadno=1960 if country=="Norway" & leader=="Mowinckel"
replace leadno=1961 if country=="Norway" & leader=="Lykke"
replace leadno=1962 if country=="Norway" & leader=="Hornsrud"
replace leadno=1963 if country=="Norway" & leader=="Mowinckel"
replace leadno=1964 if country=="Norway" & leader=="Kolstad"
replace leadno=1965 if country=="Norway" & leader=="Braadland"
replace leadno=1966 if country=="Norway" & leader=="Hundseid"
replace leadno=1967 if country=="Norway" & leader=="Mowinckel"
replace leadno=1968 if country=="Norway" & leader=="Nygaardsvold"
replace leadno=1969 if country=="Norway" & leader=="Quisling"
replace leadno=1970 if country=="Norway" & leader=="Nygaardsvold"
replace leadno=1971 if country=="Norway" & leader=="Gerhardsen"
replace leadno=1972 if country=="Norway" & leader=="Torp"
replace leadno=1973 if country=="Norway" & leader=="Gerhardsen"
replace leadno=1974 if country=="Norway" & leader=="Lyng"
replace leadno=1975 if country=="Norway" & leader=="Gerhardsen"
replace leadno=1976 if country=="Norway" & leader=="Borten"
replace leadno=1977 if country=="Norway" & leader=="Bratteli"
replace leadno=1978 if country=="Norway" & leader=="Korvald"
replace leadno=1979 if country=="Norway" & leader=="Bratteli"
replace leadno=1980 if country=="Norway" & leader=="Nordli"
replace leadno=1981 if country=="Norway" & leader=="Brundtland"
replace leadno=1982 if country=="Norway" & leader=="Willoch"
replace leadno=1983 if country=="Norway" & leader=="Brundtland"
replace leadno=1984 if country=="Norway" & leader=="Syse"
replace leadno=1985 if country=="Norway" & leader=="Brundtland"
replace leadno=1986 if country=="Norway" & leader=="Jagland"
replace leadno=1987 if country=="Norway" & leader=="Bondevik"
replace leadno=1988 if country=="Norway" & leader=="Lahnstein"
replace leadno=1989 if country=="Norway" & leader=="Bondevik"
replace leadno=1990 if country=="Norway" & leader=="Stoltenberg"
replace leadno=1991 if country=="Norway" & leader=="Bondevik"
replace leadno=1992 if country=="Oman" & leader=="Turki ibn Sa`id"
replace leadno=1993 if country=="Oman" & leader=="Faysal ibn Turki"
replace leadno=1994 if country=="Oman" & leader=="Taimur ibn Faysal"
replace leadno=1995 if country=="Oman" & leader=="Sa`id ibn Taimur"
replace leadno=1996 if country=="Oman" & leader=="Qabus Bin Said"
replace leadno=1997 if country=="Orange Free State" & leader=="Johannes Henricus Brand"
replace leadno=1998 if country=="Orange Free State" & leader=="Blignaut"
replace leadno=1999 if country=="Orange Free State" & leader=="Reitz"
replace leadno=2000 if country=="Orange Free State" & leader=="Blignaut"
replace leadno=2001 if country=="Orange Free State" & leader=="Steyn"
replace leadno=2002 if country=="Orange Free State" & leader=="Milner"
replace leadno=2003 if country=="Orange Free State" & leader=="Palmer"
replace leadno=2004 if country=="Orange Free State" & leader=="Hamilton John Goold-Adams"
replace leadno=2005 if country=="Orange Free State" & leader=="Fischer"
replace leadno=2006 if country=="Pakistan" & leader=="Jinnah"
replace leadno=2007 if country=="Pakistan" & leader=="L. Khan"
replace leadno=2008 if country=="Pakistan" & leader=="Nazimuddin"
replace leadno=2009 if country=="Pakistan" & leader=="Mohammed Ali"
replace leadno=2010 if country=="Pakistan" & leader=="Chaudhri M. Ali"
replace leadno=2011 if country=="Pakistan" & leader=="Shahid Suhrawardy"
replace leadno=2012 if country=="Pakistan" & leader=="Chundrigar"
replace leadno=2013 if country=="Pakistan" & leader=="Khan Noon"
replace leadno=2014 if country=="Pakistan" & leader=="Ayub Khan"
replace leadno=2015 if country=="Pakistan" & leader=="Yahya Khan"
replace leadno=2016 if country=="Pakistan" & leader=="Bhutto"
replace leadno=2017 if country=="Pakistan" & leader=="Zia"
replace leadno=2018 if country=="Pakistan" & leader=="Ishaq Khan"
replace leadno=2019 if country=="Pakistan" & leader=="Bhutto Benazir"
replace leadno=2020 if country=="Pakistan" & leader=="Jatoi"
replace leadno=2021 if country=="Pakistan" & leader=="Sharif"
replace leadno=2022 if country=="Pakistan" & leader=="Mazari"
replace leadno=2023 if country=="Pakistan" & leader=="Sharif"
replace leadno=2024 if country=="Pakistan" & leader=="Qureshi"
replace leadno=2025 if country=="Pakistan" & leader=="Bhutto Benazir"
replace leadno=2026 if country=="Pakistan" & leader=="Khalid"
replace leadno=2027 if country=="Pakistan" & leader=="Sharif"
replace leadno=2028 if country=="Pakistan" & leader=="Musharraf"
replace leadno=2029 if country=="Panama" & leader=="Jose Agustin Arango"
replace leadno=2030 if country=="Panama" & leader=="Manuel Amador Guerrero"
replace leadno=2031 if country=="Panama" & leader=="Jose Domingo de Obaldia"
replace leadno=2032 if country=="Panama" & leader=="Carlos Antonio Mendoza"
replace leadno=2033 if country=="Panama" & leader=="Pablo Arosemena Alba"
replace leadno=2034 if country=="Panama" & leader=="Rudolfo Chiari"
replace leadno=2035 if country=="Panama" & leader=="Pablo Arosemena Alba"
replace leadno=2036 if country=="Panama" & leader=="Belisario Porras Barahona"
replace leadno=2037 if country=="Panama" & leader=="Ramon Maximiliano Valdes"
replace leadno=2038 if country=="Panama" & leader=="Ciro Luis Urriola"
replace leadno=2039 if country=="Panama" & leader=="Belisario Porras Barahona"
replace leadno=2040 if country=="Panama" & leader=="Ernesto Lefevre"
replace leadno=2041 if country=="Panama" & leader=="Belisario Porras Barahona"
replace leadno=2042 if country=="Panama" & leader=="Rudolfo Chiari"
replace leadno=2043 if country=="Panama" & leader=="Tomas Duque"
replace leadno=2044 if country=="Panama" & leader=="Florencio Harmodio Arosemena"
replace leadno=2045 if country=="Panama" & leader=="Arias, H."
replace leadno=2046 if country=="Panama" & leader=="Alfaro"
replace leadno=2047 if country=="Panama" & leader=="Arias, H."
replace leadno=2048 if country=="Panama" & leader=="Arosomena, Juan"
replace leadno=2049 if country=="Panama" & leader=="Boyd"
replace leadno=2050 if country=="Panama" & leader=="Arias, A."
replace leadno=2051 if country=="Panama" & leader=="Ernesto Jaen Guardia"
replace leadno=2052 if country=="Panama" & leader=="Guardia, R."
replace leadno=2053 if country=="Panama" & leader=="Jimenez"
replace leadno=2054 if country=="Panama" & leader=="Diaz Arosomena"
replace leadno=2055 if country=="Panama" & leader=="Chaniz Pinzon"
replace leadno=2056 if country=="Panama" & leader=="Chiari, Roberto"
replace leadno=2057 if country=="Panama" & leader=="Arias, A."
replace leadno=2058 if country=="Panama" & leader=="Arosomena, A."
replace leadno=2059 if country=="Panama" & leader=="Remon Cantero"
replace leadno=2060 if country=="Panama" & leader=="Guizado"
replace leadno=2061 if country=="Panama" & leader=="Arias Espinosa"
replace leadno=2062 if country=="Panama" & leader=="Guardia Jr., E."
replace leadno=2063 if country=="Panama" & leader=="Chiari, Roberto"
replace leadno=2064 if country=="Panama" & leader=="Robles"
replace leadno=2065 if country=="Panama" & leader=="Arias, A."
replace leadno=2066 if country=="Panama" & leader=="Torrijos Herrera"
replace leadno=2067 if country=="Panama" & leader=="Florez Aguilar"
replace leadno=2068 if country=="Panama" & leader=="Dario Paredes"
replace leadno=2069 if country=="Panama" & leader=="Noriega"
replace leadno=2070 if country=="Panama" & leader=="Endara"
replace leadno=2071 if country=="Panama" & leader=="Balladares"
replace leadno=2072 if country=="Panama" & leader=="Mireya Moscoso"
replace leadno=2073 if country=="Panama" & leader=="Martin Torrijos"
replace leadno=2074 if country=="Papua New Guinea" & leader=="Somare"
replace leadno=2075 if country=="Papua New Guinea" & leader=="Chan"
replace leadno=2076 if country=="Papua New Guinea" & leader=="Somare"
replace leadno=2077 if country=="Papua New Guinea" & leader=="Wingti"
replace leadno=2078 if country=="Papua New Guinea" & leader=="Namaliu"
replace leadno=2079 if country=="Papua New Guinea" & leader=="Wingti"
replace leadno=2080 if country=="Papua New Guinea" & leader=="Chan"
replace leadno=2081 if country=="Papua New Guinea" & leader=="Skate"
replace leadno=2082 if country=="Papua New Guinea" & leader=="Morauta"
replace leadno=2083 if country=="Papua New Guinea" & leader=="Somare"
replace leadno=2084 if country=="Paraguay" & leader=="Gill"
replace leadno=2085 if country=="Paraguay" & leader=="Uriarte"
replace leadno=2086 if country=="Paraguay" & leader=="Barreiro"
replace leadno=2087 if country=="Paraguay" & leader=="Caballero"
replace leadno=2088 if country=="Paraguay" & leader=="Escobar"
replace leadno=2089 if country=="Paraguay" & leader=="Gonzalez"
replace leadno=2090 if country=="Paraguay" & leader=="Morinigo"
replace leadno=2091 if country=="Paraguay" & leader=="Egusquiza"
replace leadno=2092 if country=="Paraguay" & leader=="Aceval"
replace leadno=2093 if country=="Paraguay" & leader=="Carvallo"
replace leadno=2094 if country=="Paraguay" & leader=="Escurra"
replace leadno=2095 if country=="Paraguay" & leader=="Gaona"
replace leadno=2096 if country=="Paraguay" & leader=="Baez"
replace leadno=2097 if country=="Paraguay" & leader=="Ferreira"
replace leadno=2098 if country=="Paraguay" & leader=="Gonzales Navero"
replace leadno=2099 if country=="Paraguay" & leader=="Gondra"
replace leadno=2100 if country=="Paraguay" & leader=="Jara"
replace leadno=2101 if country=="Paraguay" & leader=="Rojas"
replace leadno=2102 if country=="Paraguay" & leader=="Pena"
replace leadno=2103 if country=="Paraguay" & leader=="Gonzalez Navero"
replace leadno=2104 if country=="Paraguay" & leader=="Schaerer"
replace leadno=2105 if country=="Paraguay" & leader=="Manuel Franco"
replace leadno=2106 if country=="Paraguay" & leader=="Montero"
replace leadno=2107 if country=="Paraguay" & leader=="Gondra"
replace leadno=2108 if country=="Paraguay" & leader=="Paiva"
replace leadno=2109 if country=="Paraguay" & leader=="Ayala Eusebio"
replace leadno=2110 if country=="Paraguay" & leader=="Ayala Eligio"
replace leadno=2111 if country=="Paraguay" & leader=="Riart"
replace leadno=2112 if country=="Paraguay" & leader=="Ayala Eligio"
replace leadno=2113 if country=="Paraguay" & leader=="Guggiari"
replace leadno=2114 if country=="Paraguay" & leader=="Gonzalez Navero"
replace leadno=2115 if country=="Paraguay" & leader=="Guggiari"
replace leadno=2116 if country=="Paraguay" & leader=="Ayala Eusebio"
replace leadno=2117 if country=="Paraguay" & leader=="Rafael Franco"
replace leadno=2118 if country=="Paraguay" & leader=="Paiva"
replace leadno=2119 if country=="Paraguay" & leader=="Estigarribia"
replace leadno=2120 if country=="Paraguay" & leader=="Morinigo"
replace leadno=2121 if country=="Paraguay" & leader=="Frutos"
replace leadno=2122 if country=="Paraguay" & leader=="Natalicio"
replace leadno=2123 if country=="Paraguay" & leader=="Rolon"
replace leadno=2124 if country=="Paraguay" & leader=="Molas Lopez"
replace leadno=2125 if country=="Paraguay" & leader=="Chavez"
replace leadno=2126 if country=="Paraguay" & leader=="Pareira"
replace leadno=2127 if country=="Paraguay" & leader=="Stroessner"
replace leadno=2128 if country=="Paraguay" & leader=="Rodriguez Pedotti"
replace leadno=2129 if country=="Paraguay" & leader=="Wasmosy Monti"
replace leadno=2130 if country=="Paraguay" & leader=="Cubas Grau"
replace leadno=2131 if country=="Paraguay" & leader=="Gonzalez Macchi"
replace leadno=2132 if country=="Paraguay" & leader=="Nicanor Duarte Frutos"
replace leadno=2133 if country=="Peru" & leader=="Pardo"
replace leadno=2134 if country=="Peru" & leader=="Prado"
replace leadno=2135 if country=="Peru" & leader=="Luis de la Puerta"
replace leadno=2136 if country=="Peru" & leader=="Pierola"
replace leadno=2137 if country=="Peru" & leader=="Francisco Garcia Calderon"
replace leadno=2138 if country=="Peru" & leader=="Montero"
replace leadno=2139 if country=="Peru" & leader=="Iglesias"
replace leadno=2140 if country=="Peru" & leader=="Caceres"
replace leadno=2141 if country=="Peru" & leader=="Bermudez"
replace leadno=2142 if country=="Peru" & leader=="Borgono"
replace leadno=2143 if country=="Peru" & leader=="Caceres"
replace leadno=2144 if country=="Peru" & leader=="de Candamo"
replace leadno=2145 if country=="Peru" & leader=="Pierola"
replace leadno=2146 if country=="Peru" & leader=="de Romana"
replace leadno=2147 if country=="Peru" & leader=="de Candamo"
replace leadno=2148 if country=="Peru" & leader=="Serapio Calderon"
replace leadno=2149 if country=="Peru" & leader=="Pardo y Barreda"
replace leadno=2150 if country=="Peru" & leader=="Leguia"
replace leadno=2151 if country=="Peru" & leader=="Billinghurst"
replace leadno=2152 if country=="Peru" & leader=="Benavides"
replace leadno=2153 if country=="Peru" & leader=="Pardo y Barreda"
replace leadno=2154 if country=="Peru" & leader=="Leguia"
replace leadno=2155 if country=="Peru" & leader=="Ponce Brousset"
replace leadno=2156 if country=="Peru" & leader=="Sanchez Cerro"
replace leadno=2157 if country=="Peru" & leader=="Ricardo Leonicio Elias"
replace leadno=2158 if country=="Peru" & leader=="Gustavo Jimenez"
replace leadno=2159 if country=="Peru" & leader=="Samanez Ocampo"
replace leadno=2160 if country=="Peru" & leader=="Sanchez Cerro"
replace leadno=2161 if country=="Peru" & leader=="Benavidez"
replace leadno=2162 if country=="Peru" & leader=="Ugarteche"
replace leadno=2163 if country=="Peru" & leader=="Bustamante"
replace leadno=2164 if country=="Peru" & leader=="Odria"
replace leadno=2165 if country=="Peru" & leader=="Noriega"
replace leadno=2166 if country=="Peru" & leader=="Odria"
replace leadno=2167 if country=="Peru" & leader=="Ugarteche"
replace leadno=2168 if country=="Peru" & leader=="Perez Godoy"
replace leadno=2169 if country=="Peru" & leader=="Lindley Lopez"
replace leadno=2170 if country=="Peru" & leader=="Belaunde"
replace leadno=2171 if country=="Peru" & leader=="Velasco Alvarado"
replace leadno=2172 if country=="Peru" & leader=="Morales Bermudez"
replace leadno=2173 if country=="Peru" & leader=="Belaunde"
replace leadno=2174 if country=="Peru" & leader=="Garcia Perez"
replace leadno=2175 if country=="Peru" & leader=="Fujimori"
replace leadno=2176 if country=="Peru" & leader=="Valentin Paniagua"
replace leadno=2177 if country=="Peru" & leader=="Alejandro Toledo"
replace leadno=2178 if country=="Philippines" & leader=="Roxas"
replace leadno=2179 if country=="Philippines" & leader=="Quirrino"
replace leadno=2180 if country=="Philippines" & leader=="Magsaysay"
replace leadno=2181 if country=="Philippines" & leader=="Garcia"
replace leadno=2182 if country=="Philippines" & leader=="Macapagal"
replace leadno=2183 if country=="Philippines" & leader=="Marcos"
replace leadno=2184 if country=="Philippines" & leader=="Aquino"
replace leadno=2185 if country=="Philippines" & leader=="Ramos"
replace leadno=2186 if country=="Philippines" & leader=="Estrada"
replace leadno=2187 if country=="Philippines" & leader=="Gloria Macapagal-Arroyo"
replace leadno=2188 if country=="Poland" & leader=="Daszynski"
replace leadno=2189 if country=="Poland" & leader=="Pildsudski"
replace leadno=2190 if country=="Poland" & leader=="Narutowicz"
replace leadno=2191 if country=="Poland" & leader=="Wojciechowski"
replace leadno=2192 if country=="Poland" & leader=="Pildsudski"
replace leadno=2193 if country=="Poland" & leader=="Smigly-Rydz"
replace leadno=2194 if country=="Poland" & leader=="Bierut"
replace leadno=2195 if country=="Poland" & leader=="Ochab"
replace leadno=2196 if country=="Poland" & leader=="Gomulka"
replace leadno=2197 if country=="Poland" & leader=="Gierek"
replace leadno=2198 if country=="Poland" & leader=="Kania"
replace leadno=2199 if country=="Poland" & leader=="Jaruzelski"
replace leadno=2200 if country=="Poland" & leader=="Walesa"
replace leadno=2201 if country=="Poland" & leader=="Kwasniewski"
replace leadno=2202 if country=="Portugal" & leader=="Luis I"
replace leadno=2203 if country=="Portugal" & leader=="Carlos I"
replace leadno=2204 if country=="Portugal" & leader=="Manuel II"
replace leadno=2205 if country=="Portugal" & leader=="Braga"
replace leadno=2206 if country=="Portugal" & leader=="Arriaga"
replace leadno=2207 if country=="Portugal" & leader=="Braga"
replace leadno=2208 if country=="Portugal" & leader=="Machado Guimaraes"
replace leadno=2209 if country=="Portugal" & leader=="Paes"
replace leadno=2210 if country=="Portugal" & leader=="Joao Canto e Castro"
replace leadno=2211 if country=="Portugal" & leader=="Almeida"
replace leadno=2212 if country=="Portugal" & leader=="Gomes"
replace leadno=2213 if country=="Portugal" & leader=="Machado Guimaraes"
replace leadno=2214 if country=="Portugal" & leader=="Carmona"
replace leadno=2215 if country=="Portugal" & leader=="Salazar"
replace leadno=2216 if country=="Portugal" & leader=="Caetano"
replace leadno=2217 if country=="Portugal" & leader=="Spinola"
replace leadno=2218 if country=="Portugal" & leader=="Costa Gomes"
replace leadno=2219 if country=="Portugal" & leader=="Eanes"
replace leadno=2220 if country=="Portugal" & leader=="Soares"
replace leadno=2221 if country=="Portugal" & leader=="Sampaio"
replace leadno=2222 if country=="Qatar" & leader=="Ahmed Ath-Thani"
replace leadno=2223 if country=="Qatar" & leader=="Khalifah Ath-Thani"
replace leadno=2224 if country=="Qatar" & leader=="Amad Al Thani"
replace leadno=2225 if country=="Republic of Vietnam" & leader=="Pham Buu Loc"
replace leadno=2226 if country=="Republic of Vietnam" & leader=="Quat"
replace leadno=2227 if country=="Republic of Vietnam" & leader=="Ngo Dinh Diem"
replace leadno=2228 if country=="Republic of Vietnam" & leader=="Minh"
replace leadno=2229 if country=="Republic of Vietnam" & leader=="Khanh"
replace leadno=2230 if country=="Republic of Vietnam" & leader=="Van Huong"
replace leadno=2231 if country=="Republic of Vietnam" & leader=="Khahn"
replace leadno=2232 if country=="Republic of Vietnam" & leader=="Quat"
replace leadno=2233 if country=="Republic of Vietnam" & leader=="Van Thieu"
replace leadno=2234 if country=="Republic of Vietnam" & leader=="Minh"
replace leadno=2235 if country=="Romania" & leader=="Carol I"
replace leadno=2236 if country=="Romania" & leader=="Ferdinand I"
replace leadno=2237 if country=="Romania" & leader=="Nicholas"
replace leadno=2238 if country=="Romania" & leader=="Carol II"
replace leadno=2239 if country=="Romania" & leader=="Antonescu"
replace leadno=2240 if country=="Romania" & leader=="Michael"
replace leadno=2241 if country=="Romania" & leader=="Georghiu-Dej"
replace leadno=2242 if country=="Romania" & leader=="Ceausescu"
replace leadno=2243 if country=="Romania" & leader=="Roman"
replace leadno=2244 if country=="Romania" & leader=="Stolojan"
replace leadno=2245 if country=="Romania" & leader=="Vacariou"
replace leadno=2246 if country=="Romania" & leader=="Ciorbea"
replace leadno=2247 if country=="Romania" & leader=="Dejeu"
replace leadno=2248 if country=="Romania" & leader=="Vasile"
replace leadno=2249 if country=="Romania" & leader=="Athanasiu"
replace leadno=2250 if country=="Romania" & leader=="Isarescu"
replace leadno=2251 if country=="Romania" & leader=="A. Nastase"
replace leadno=2252 if country=="Romania" & leader=="Eugen Bejinariu"
replace leadno=2253 if country=="Romania" & leader=="Traian Basescu"
replace leadno=2254 if country=="Russia" & leader=="Alexander II"
replace leadno=2255 if country=="Russia" & leader=="Alexander III"
replace leadno=2256 if country=="Russia" & leader=="Nicholas II"
replace leadno=2257 if country=="Russia" & leader=="Lenin"
replace leadno=2258 if country=="Russia" & leader=="Stalin"
replace leadno=2259 if country=="Russia" & leader=="Malenkov"
replace leadno=2260 if country=="Russia" & leader=="Khrushchev"
replace leadno=2261 if country=="Russia" & leader=="Brezhnev"
replace leadno=2262 if country=="Russia" & leader=="Andropov"
replace leadno=2263 if country=="Russia" & leader=="Chernenko"
replace leadno=2264 if country=="Russia" & leader=="Gorbachev"
replace leadno=2265 if country=="Russia" & leader=="Yeltsin"
replace leadno=2266 if country=="Russia" & leader=="Putin"
replace leadno=2267 if country=="Rwanda" & leader=="Kayibanda"
replace leadno=2268 if country=="Rwanda" & leader=="Habyarimana"
replace leadno=2269 if country=="Rwanda" & leader=="Sindikubwabo"
replace leadno=2270 if country=="Rwanda" & leader=="Paul Kagame"
replace leadno=2271 if country=="Saudi Arabia" & leader=="Aziz"
replace leadno=2272 if country=="Saudi Arabia" & leader=="Saud"
replace leadno=2273 if country=="Saudi Arabia" & leader=="Faisal"
replace leadno=2274 if country=="Saudi Arabia" & leader=="Khalid"
replace leadno=2275 if country=="Saudi Arabia" & leader=="Fahd"
replace leadno=2276 if country=="Saudi Arabia" & leader=="Abdullah"
replace leadno=2277 if country=="Senegal" & leader=="Senghor"
replace leadno=2278 if country=="Senegal" & leader=="Diouf"
replace leadno=2279 if country=="Senegal" & leader=="Abdoulaye Wade"
replace leadno=2280 if country=="Serbia" & leader=="Milan I"
replace leadno=2281 if country=="Serbia" & leader=="Ristic (Regency)"
replace leadno=2282 if country=="Serbia" & leader=="Alexander I"
replace leadno=2283 if country=="Serbia" & leader=="Peter I"
replace leadno=2284 if country=="Serbia" & leader=="Alexander"
replace leadno=2285 if country=="Sierra Leone" & leader=="Margai,M"
replace leadno=2286 if country=="Sierra Leone" & leader=="Margai, A"
replace leadno=2287 if country=="Sierra Leone" & leader=="Lansana"
replace leadno=2288 if country=="Sierra Leone" & leader=="Juxon-Smith"
replace leadno=2289 if country=="Sierra Leone" & leader=="Stevens"
replace leadno=2290 if country=="Sierra Leone" & leader=="Momoh"
replace leadno=2291 if country=="Sierra Leone" & leader=="Strasser"
replace leadno=2292 if country=="Sierra Leone" & leader=="Bio"
replace leadno=2293 if country=="Sierra Leone" & leader=="Kabbah"
replace leadno=2294 if country=="Sierra Leone" & leader=="Koroma"
replace leadno=2295 if country=="Sierra Leone" & leader=="Kabbah"
replace leadno=2296 if country=="Singapore" & leader=="Lee Kuan Yew"
replace leadno=2297 if country=="Singapore" & leader=="Goh Chok Tong"
replace leadno=2298 if country=="Singapore" & leader=="Lee Hsien Loong"
replace leadno=2299 if country=="Slovak Republic" & leader=="Meciar"
replace leadno=2300 if country=="Slovak Republic" & leader=="Moravcik"
replace leadno=2301 if country=="Slovak Republic" & leader=="Meciar"
replace leadno=2302 if country=="Slovak Republic" & leader=="Dzurinda"
replace leadno=2303 if country=="Slovenia" & leader=="Kucan"
replace leadno=2304 if country=="Slovenia" & leader=="Peterle"
replace leadno=2305 if country=="Slovenia" & leader=="Drnovsek"
replace leadno=2306 if country=="Slovenia" & leader=="Bajuk"
replace leadno=2307 if country=="Slovenia" & leader=="Drnovsek"
replace leadno=2308 if country=="Slovenia" & leader=="Anton Rop"
replace leadno=2309 if country=="Slovenia" & leader=="Janez Jansa"
replace leadno=2310 if country=="Somalia" & leader=="Osman Daar"
replace leadno=2311 if country=="Somalia" & leader=="Shermarke"
replace leadno=2312 if country=="Somalia" & leader=="Siad Barre"
replace leadno=2313 if country=="South Africa" & leader=="Louis Botha"
replace leadno=2314 if country=="South Africa" & leader=="Smuts"
replace leadno=2315 if country=="South Africa" & leader=="Hertzog"
replace leadno=2316 if country=="South Africa" & leader=="Smuts"
replace leadno=2317 if country=="South Africa" & leader=="Malan"
replace leadno=2318 if country=="South Africa" & leader=="Strijdom"
replace leadno=2319 if country=="South Africa" & leader=="Swart"
replace leadno=2320 if country=="South Africa" & leader=="Verwoerd"
replace leadno=2321 if country=="South Africa" & leader=="Donges"
replace leadno=2322 if country=="South Africa" & leader=="Vorster"
replace leadno=2323 if country=="South Africa" & leader=="Botha"
replace leadno=2324 if country=="South Africa" & leader=="Heunis"
replace leadno=2325 if country=="South Africa" & leader=="Botha"
replace leadno=2326 if country=="South Africa" & leader=="deKlerk"
replace leadno=2327 if country=="South Africa" & leader=="Mandela"
replace leadno=2328 if country=="South Africa" & leader=="Mbeki"
replace leadno=2329 if country=="South Korea" & leader=="Yi Hyong"
replace leadno=2330 if country=="South Korea" & leader=="Yi Ch'ok"
replace leadno=2331 if country=="South Korea" & leader=="Rhee"
replace leadno=2332 if country=="South Korea" & leader=="Ho Chong"
replace leadno=2333 if country=="South Korea" & leader=="Myun Chang"
replace leadno=2334 if country=="South Korea" & leader=="Chang Do Yong"
replace leadno=2335 if country=="South Korea" & leader=="Hee Park"
replace leadno=2336 if country=="South Korea" & leader=="Choi Kuy Hay"
replace leadno=2337 if country=="South Korea" & leader=="Park Choong Hoon"
replace leadno=2338 if country=="South Korea" & leader=="Chun Doo Hwan"
replace leadno=2339 if country=="South Korea" & leader=="Roh Tae Woo"
replace leadno=2340 if country=="South Korea" & leader=="Kim Young Sam"
replace leadno=2341 if country=="South Korea" & leader=="Kim Dae Jung"
replace leadno=2342 if country=="South Korea" & leader=="Roh Moo Hyun"
replace leadno=2343 if country=="Spain" & leader=="del Castillo"
replace leadno=2344 if country=="Spain" & leader=="Jovellar"
replace leadno=2345 if country=="Spain" & leader=="del Castillo"
replace leadno=2346 if country=="Spain" & leader=="Martinez-Campos"
replace leadno=2347 if country=="Spain" & leader=="del Castillo"
replace leadno=2348 if country=="Spain" & leader=="Sagasta"
replace leadno=2349 if country=="Spain" & leader=="Herrera"
replace leadno=2350 if country=="Spain" & leader=="del Castillo"
replace leadno=2351 if country=="Spain" & leader=="Sagasta"
replace leadno=2352 if country=="Spain" & leader=="del Castillo"
replace leadno=2353 if country=="Spain" & leader=="Sagasta"
replace leadno=2354 if country=="Spain" & leader=="del Castillo"
replace leadno=2355 if country=="Spain" & leader=="Azcarraga y Palmero"
replace leadno=2356 if country=="Spain" & leader=="Sagasta"
replace leadno=2357 if country=="Spain" & leader=="Le-Vielleuze"
replace leadno=2358 if country=="Spain" & leader=="Azcarraga y Palmero"
replace leadno=2359 if country=="Spain" & leader=="Sagasta"
replace leadno=2360 if country=="Spain" & leader=="Le-Vielleuze"
replace leadno=2361 if country=="Spain" & leader=="Villaverde"
replace leadno=2362 if country=="Spain" & leader=="Maura y Montaner"
replace leadno=2363 if country=="Spain" & leader=="Azcarraga y Palmero"
replace leadno=2364 if country=="Spain" & leader=="Villaverde"
replace leadno=2365 if country=="Spain" & leader=="Rios"
replace leadno=2366 if country=="Spain" & leader=="Moret y Prendergast"
replace leadno=2367 if country=="Spain" & leader=="Dominguez"
replace leadno=2368 if country=="Spain" & leader=="Moret y Prendergast"
replace leadno=2369 if country=="Spain" & leader=="Aguilar y Correa"
replace leadno=2370 if country=="Spain" & leader=="Maura y Montaner"
replace leadno=2371 if country=="Spain" & leader=="Moret y Prendergast"
replace leadno=2372 if country=="Spain" & leader=="Canalejas y Mendez"
replace leadno=2373 if country=="Spain" & leader=="Figueroa y Torres"
replace leadno=2374 if country=="Spain" & leader=="Garcia Prieto"
replace leadno=2375 if country=="Spain" & leader=="Dato y Iradier"
replace leadno=2376 if country=="Spain" & leader=="Figueroa y Torres"
replace leadno=2377 if country=="Spain" & leader=="Garcia Prieto"
replace leadno=2378 if country=="Spain" & leader=="Dato y Iradier"
replace leadno=2379 if country=="Spain" & leader=="Garcia Prieto"
replace leadno=2380 if country=="Spain" & leader=="Maura y Montaner"
replace leadno=2381 if country=="Spain" & leader=="Garcia Prieto"
replace leadno=2382 if country=="Spain" & leader=="Figueroa y Torres"
replace leadno=2383 if country=="Spain" & leader=="Maura y Montaner"
replace leadno=2384 if country=="Spain" & leader=="de Toca"
replace leadno=2385 if country=="Spain" & leader=="Allende Salazar"
replace leadno=2386 if country=="Spain" & leader=="Dato y Iradier"
replace leadno=2387 if country=="Spain" & leader=="Araugo"
replace leadno=2388 if country=="Spain" & leader=="Allende Salazar"
replace leadno=2389 if country=="Spain" & leader=="Maura y Montaner"
replace leadno=2390 if country=="Spain" & leader=="Sanchez Guerra"
replace leadno=2391 if country=="Spain" & leader=="Garcia Prieto"
replace leadno=2392 if country=="Spain" & leader=="de Rivera"
replace leadno=2393 if country=="Spain" & leader=="Berenguer"
replace leadno=2394 if country=="Spain" & leader=="Azmar-Cabanas"
replace leadno=2395 if country=="Spain" & leader=="Alcala Zamora"
replace leadno=2396 if country=="Spain" & leader=="Azana y Diez"
replace leadno=2397 if country=="Spain" & leader=="Lerroux y Garcia"
replace leadno=2398 if country=="Spain" & leader=="Martinez Barro"
replace leadno=2399 if country=="Spain" & leader=="Lerroux y Garcia"
replace leadno=2400 if country=="Spain" & leader=="Ibanez"
replace leadno=2401 if country=="Spain" & leader=="Lerroux y Garcia"
replace leadno=2402 if country=="Spain" & leader=="Chapaprieta"
replace leadno=2403 if country=="Spain" & leader=="Portela"
replace leadno=2404 if country=="Spain" & leader=="Azana y Diez"
replace leadno=2405 if country=="Spain" & leader=="Casares Quiroga"
replace leadno=2406 if country=="Spain" & leader=="Martinez Barro"
replace leadno=2407 if country=="Spain" & leader=="Giral y Pereyra"
replace leadno=2408 if country=="Spain" & leader=="Largo Caballero"
replace leadno=2409 if country=="Spain" & leader=="Negrin"
replace leadno=2410 if country=="Spain" & leader=="Miaja"
replace leadno=2411 if country=="Spain" & leader=="Franco"
replace leadno=2412 if country=="Spain" & leader=="Juan Carlos"
replace leadno=2413 if country=="Spain" & leader=="Arias Navarro"
replace leadno=2414 if country=="Spain" & leader=="Suarez Gonzalez"
replace leadno=2415 if country=="Spain" & leader=="Calvo-Sotelo"
replace leadno=2416 if country=="Spain" & leader=="Gonzalez Marquez"
replace leadno=2417 if country=="Spain" & leader=="Aznar"
replace leadno=2418 if country=="Spain" & leader=="Rodriguez Zapatero"
replace leadno=2419 if country=="Sri Lanka" & leader=="Senanayake, Don"
replace leadno=2420 if country=="Sri Lanka" & leader=="Senanayake, Dudley"
replace leadno=2421 if country=="Sri Lanka" & leader=="Kotelawala"
replace leadno=2422 if country=="Sri Lanka" & leader=="Bandaranaike, S.W.R.D."
replace leadno=2423 if country=="Sri Lanka" & leader=="Dahanayake"
replace leadno=2424 if country=="Sri Lanka" & leader=="Senanayake, Dudley"
replace leadno=2425 if country=="Sri Lanka" & leader=="Bandaranaike, S"
replace leadno=2426 if country=="Sri Lanka" & leader=="Senanayake, Dudley"
replace leadno=2427 if country=="Sri Lanka" & leader=="Bandaranaike, S"
replace leadno=2428 if country=="Sri Lanka" & leader=="Jayewardene"
replace leadno=2429 if country=="Sri Lanka" & leader=="Premadasa"
replace leadno=2430 if country=="Sri Lanka" & leader=="Wijetunge"
replace leadno=2431 if country=="Sri Lanka" & leader=="Kumaratunga"
replace leadno=2432 if country=="Sudan" & leader=="Al-Azhari"
replace leadno=2433 if country=="Sudan" & leader=="Khalil"
replace leadno=2434 if country=="Sudan" & leader=="Abboud"
replace leadno=2435 if country=="Sudan" & leader=="al-Khalifa"
replace leadno=2436 if country=="Sudan" & leader=="Maghoub"
replace leadno=2437 if country=="Sudan" & leader=="Mahdi"
replace leadno=2438 if country=="Sudan" & leader=="Maghoub"
replace leadno=2439 if country=="Sudan" & leader=="Nimeiri"
replace leadno=2440 if country=="Sudan" & leader=="Osman"
replace leadno=2441 if country=="Sudan" & leader=="Nimeiri"
replace leadno=2442 if country=="Sudan" & leader=="Abdul Rahman Swaredahab"
replace leadno=2443 if country=="Sudan" & leader=="Al-Mirghani"
replace leadno=2444 if country=="Sudan" & leader=="Al-Bashir"
replace leadno=2445 if country=="Swaziland" & leader=="Subhuza II"
replace leadno=2446 if country=="Swaziland" & leader=="Dzeliwe Shongwe"
replace leadno=2447 if country=="Swaziland" & leader=="Ntombe Thwala"
replace leadno=2448 if country=="Swaziland" & leader=="Mswati"
replace leadno=2449 if country=="Sweden" & leader=="Oscar II"
replace leadno=2450 if country=="Sweden" & leader=="de Geer af Finsp�ng"
replace leadno=2451 if country=="Sweden" & leader=="Posse"
replace leadno=2452 if country=="Sweden" & leader=="Thyselius"
replace leadno=2453 if country=="Sweden" & leader=="Themptander"
replace leadno=2454 if country=="Sweden" & leader=="Bildt"
replace leadno=2455 if country=="Sweden" & leader=="Akerhjelm"
replace leadno=2456 if country=="Sweden" & leader=="Bostrom"
replace leadno=2457 if country=="Sweden" & leader=="Otter"
replace leadno=2458 if country=="Sweden" & leader=="Bostrom"
replace leadno=2459 if country=="Sweden" & leader=="Ramstedt"
replace leadno=2460 if country=="Sweden" & leader=="Lundeberg"
replace leadno=2461 if country=="Sweden" & leader=="Staaf"
replace leadno=2462 if country=="Sweden" & leader=="Lindman"
replace leadno=2463 if country=="Sweden" & leader=="Staaf"
replace leadno=2464 if country=="Sweden" & leader=="Hammarskjold"
replace leadno=2465 if country=="Sweden" & leader=="Swartz"
replace leadno=2466 if country=="Sweden" & leader=="Eden"
replace leadno=2467 if country=="Sweden" & leader=="Branting"
replace leadno=2468 if country=="Sweden" & leader=="de Geer"
replace leadno=2469 if country=="Sweden" & leader=="von Sydow"
replace leadno=2470 if country=="Sweden" & leader=="Branting"
replace leadno=2471 if country=="Sweden" & leader=="Trygger"
replace leadno=2472 if country=="Sweden" & leader=="Branting"
replace leadno=2473 if country=="Sweden" & leader=="Sandler"
replace leadno=2474 if country=="Sweden" & leader=="Ekman"
replace leadno=2475 if country=="Sweden" & leader=="Lindman"
replace leadno=2476 if country=="Sweden" & leader=="Ekman"
replace leadno=2477 if country=="Sweden" & leader=="Hamrin"
replace leadno=2478 if country=="Sweden" & leader=="Hansson"
replace leadno=2479 if country=="Sweden" & leader=="Pehrsson-Bramst"
replace leadno=2480 if country=="Sweden" & leader=="Hansson"
replace leadno=2481 if country=="Sweden" & leader=="Erlander"
replace leadno=2482 if country=="Sweden" & leader=="Palme"
replace leadno=2483 if country=="Sweden" & leader=="Falldin"
replace leadno=2484 if country=="Sweden" & leader=="Ullsten"
replace leadno=2485 if country=="Sweden" & leader=="Falldin"
replace leadno=2486 if country=="Sweden" & leader=="Palme"
replace leadno=2487 if country=="Sweden" & leader=="Carlsson"
replace leadno=2488 if country=="Sweden" & leader=="Bildt"
replace leadno=2489 if country=="Sweden" & leader=="Carlsson"
replace leadno=2490 if country=="Sweden" & leader=="Persson"
replace leadno=2491 if country=="Switzerland" & leader=="Scherer"
replace leadno=2492 if country=="Switzerland" & leader=="Welti"
replace leadno=2493 if country=="Switzerland" & leader=="Heer"
replace leadno=2494 if country=="Switzerland" & leader=="Schenck"
replace leadno=2495 if country=="Switzerland" & leader=="Hammer"
replace leadno=2496 if country=="Switzerland" & leader=="Welti"
replace leadno=2497 if country=="Switzerland" & leader=="Droz"
replace leadno=2498 if country=="Switzerland" & leader=="Bavier"
replace leadno=2499 if country=="Switzerland" & leader=="Ruchonnet"
replace leadno=2500 if country=="Switzerland" & leader=="Welti"
replace leadno=2501 if country=="Switzerland" & leader=="Schenck"
replace leadno=2502 if country=="Switzerland" & leader=="Deucher"
replace leadno=2503 if country=="Switzerland" & leader=="Droz"
replace leadno=2504 if country=="Switzerland" & leader=="Hertenstein"
replace leadno=2505 if country=="Switzerland" & leader=="Hammer"
replace leadno=2506 if country=="Switzerland" & leader=="Ruchonnet"
replace leadno=2507 if country=="Switzerland" & leader=="Welti"
replace leadno=2508 if country=="Switzerland" & leader=="Hauser"
replace leadno=2509 if country=="Switzerland" & leader=="Schenck"
replace leadno=2510 if country=="Switzerland" & leader=="Frey"
replace leadno=2511 if country=="Switzerland" & leader=="Zemp"
replace leadno=2512 if country=="Switzerland" & leader=="Lachenal"
replace leadno=2513 if country=="Switzerland" & leader=="Deucher"
replace leadno=2514 if country=="Switzerland" & leader=="Ruffy"
replace leadno=2515 if country=="Switzerland" & leader=="Muller"
replace leadno=2516 if country=="Switzerland" & leader=="Hauser"
replace leadno=2517 if country=="Switzerland" & leader=="Brenner"
replace leadno=2518 if country=="Switzerland" & leader=="Zemp"
replace leadno=2519 if country=="Switzerland" & leader=="Deucher"
replace leadno=2520 if country=="Switzerland" & leader=="Comtesse"
replace leadno=2521 if country=="Switzerland" & leader=="Ruchet"
replace leadno=2522 if country=="Switzerland" & leader=="Forrer"
replace leadno=2523 if country=="Switzerland" & leader=="Muller"
replace leadno=2524 if country=="Switzerland" & leader=="Brenner"
replace leadno=2525 if country=="Switzerland" & leader=="Deucher"
replace leadno=2526 if country=="Switzerland" & leader=="Comtesse"
replace leadno=2527 if country=="Switzerland" & leader=="Ruchet"
replace leadno=2528 if country=="Switzerland" & leader=="Forrer"
replace leadno=2529 if country=="Switzerland" & leader=="Muller"
replace leadno=2530 if country=="Switzerland" & leader=="Hoffman"
replace leadno=2531 if country=="Switzerland" & leader=="Motta"
replace leadno=2532 if country=="Switzerland" & leader=="Decoppet"
replace leadno=2533 if country=="Switzerland" & leader=="Schulthess"
replace leadno=2534 if country=="Switzerland" & leader=="Calonder"
replace leadno=2535 if country=="Switzerland" & leader=="Ador"
replace leadno=2536 if country=="Switzerland" & leader=="Motta"
replace leadno=2537 if country=="Switzerland" & leader=="Schulthess"
replace leadno=2538 if country=="Switzerland" & leader=="Haab"
replace leadno=2539 if country=="Switzerland" & leader=="Scheurer"
replace leadno=2540 if country=="Switzerland" & leader=="Chuard"
replace leadno=2541 if country=="Switzerland" & leader=="Musy"
replace leadno=2542 if country=="Switzerland" & leader=="Haberlin"
replace leadno=2543 if country=="Switzerland" & leader=="Motta"
replace leadno=2544 if country=="Switzerland" & leader=="Schulthess"
replace leadno=2545 if country=="Switzerland" & leader=="Haab"
replace leadno=2546 if country=="Switzerland" & leader=="Musy"
replace leadno=2547 if country=="Switzerland" & leader=="Haberlin"
replace leadno=2548 if country=="Switzerland" & leader=="Motta"
replace leadno=2549 if country=="Switzerland" & leader=="Schulthess"
replace leadno=2550 if country=="Switzerland" & leader=="Golaz"
replace leadno=2551 if country=="Switzerland" & leader=="Minger"
replace leadno=2552 if country=="Switzerland" & leader=="Meyer"
replace leadno=2553 if country=="Switzerland" & leader=="Motta"
replace leadno=2554 if country=="Switzerland" & leader=="Baumann"
replace leadno=2555 if country=="Switzerland" & leader=="Etter"
replace leadno=2556 if country=="Switzerland" & leader=="Golaz"
replace leadno=2557 if country=="Switzerland" & leader=="Wetter"
replace leadno=2558 if country=="Switzerland" & leader=="Etter"
replace leadno=2559 if country=="Switzerland" & leader=="Celio"
replace leadno=2560 if country=="Switzerland" & leader=="Stampfli"
replace leadno=2561 if country=="Switzerland" & leader=="von Steiger"
replace leadno=2562 if country=="Switzerland" & leader=="Kobelt"
replace leadno=2563 if country=="Switzerland" & leader=="Etter"
replace leadno=2564 if country=="Switzerland" & leader=="Celio"
replace leadno=2565 if country=="Switzerland" & leader=="Nobs"
replace leadno=2566 if country=="Switzerland" & leader=="Petipierre"
replace leadno=2567 if country=="Switzerland" & leader=="von Steiger"
replace leadno=2568 if country=="Switzerland" & leader=="Kobelt"
replace leadno=2569 if country=="Switzerland" & leader=="Etter"
replace leadno=2570 if country=="Switzerland" & leader=="Rubattel"
replace leadno=2571 if country=="Switzerland" & leader=="Petipierre"
replace leadno=2572 if country=="Switzerland" & leader=="Feldmann"
replace leadno=2573 if country=="Switzerland" & leader=="Streuli"
replace leadno=2574 if country=="Switzerland" & leader=="Holenstein"
replace leadno=2575 if country=="Switzerland" & leader=="Chaudet"
replace leadno=2576 if country=="Switzerland" & leader=="Petipierre"
replace leadno=2577 if country=="Switzerland" & leader=="Friedrich"
replace leadno=2578 if country=="Switzerland" & leader=="Chaudet"
replace leadno=2579 if country=="Switzerland" & leader=="Spuhler"
replace leadno=2580 if country=="Switzerland" & leader=="von Moos"
replace leadno=2581 if country=="Switzerland" & leader=="Tschudi"
replace leadno=2582 if country=="Switzerland" & leader=="Schaffner"
replace leadno=2583 if country=="Switzerland" & leader=="Bonvin"
replace leadno=2584 if country=="Switzerland" & leader=="Spuhler"
replace leadno=2585 if country=="Switzerland" & leader=="von Moos"
replace leadno=2586 if country=="Switzerland" & leader=="Tschudi"
replace leadno=2587 if country=="Switzerland" & leader=="Gnagi"
replace leadno=2588 if country=="Switzerland" & leader=="Celio"
replace leadno=2589 if country=="Switzerland" & leader=="Bonvin"
replace leadno=2590 if country=="Switzerland" & leader=="Brugger"
replace leadno=2591 if country=="Switzerland" & leader=="Graber"
replace leadno=2592 if country=="Switzerland" & leader=="Gnagi"
replace leadno=2593 if country=="Switzerland" & leader=="Furgler"
replace leadno=2594 if country=="Switzerland" & leader=="Ritschard"
replace leadno=2595 if country=="Switzerland" & leader=="Hurlimann"
replace leadno=2596 if country=="Switzerland" & leader=="Chevallaz"
replace leadno=2597 if country=="Switzerland" & leader=="Furgler"
replace leadno=2598 if country=="Switzerland" & leader=="Honegger"
replace leadno=2599 if country=="Switzerland" & leader=="Aubert"
replace leadno=2600 if country=="Switzerland" & leader=="Schlumpf"
replace leadno=2601 if country=="Switzerland" & leader=="Furgler"
replace leadno=2602 if country=="Switzerland" & leader=="Egli"
replace leadno=2603 if country=="Switzerland" & leader=="Aubert"
replace leadno=2604 if country=="Switzerland" & leader=="Stich"
replace leadno=2605 if country=="Switzerland" & leader=="Delamuraz"
replace leadno=2606 if country=="Switzerland" & leader=="Koller"
replace leadno=2607 if country=="Switzerland" & leader=="Cotti"
replace leadno=2608 if country=="Switzerland" & leader=="Felber"
replace leadno=2609 if country=="Switzerland" & leader=="Ogi"
replace leadno=2610 if country=="Switzerland" & leader=="Stich"
replace leadno=2611 if country=="Switzerland" & leader=="Villiger"
replace leadno=2612 if country=="Switzerland" & leader=="Delamuraz"
replace leadno=2613 if country=="Switzerland" & leader=="Koller"
replace leadno=2614 if country=="Switzerland" & leader=="Cotti"
replace leadno=2615 if country=="Switzerland" & leader=="Dreifuss"
replace leadno=2616 if country=="Switzerland" & leader=="Ogi"
replace leadno=2617 if country=="Switzerland" & leader=="Leuenberger"
replace leadno=2618 if country=="Switzerland" & leader=="Villiger"
replace leadno=2619 if country=="Switzerland" & leader=="Pascal Couchepin"
replace leadno=2620 if country=="Switzerland" & leader=="Joseph Deiss"
replace leadno=2621 if country=="Syria" & leader=="Kuwatli"
replace leadno=2622 if country=="Syria" & leader=="Al-Zaim"
replace leadno=2623 if country=="Syria" & leader=="Hinnawi"
replace leadno=2624 if country=="Syria" & leader=="Shishakli"
replace leadno=2625 if country=="Syria" & leader=="Atassi, H."
replace leadno=2626 if country=="Syria" & leader=="Kuwatli"
replace leadno=2627 if country=="Syria" & leader=="Nasser (president of UAR)"
replace leadno=2628 if country=="Syria" & leader=="Al-kuzbari"
replace leadno=2629 if country=="Syria" & leader=="El-Kudsi"
replace leadno=2630 if country=="Syria" & leader=="Zahreddin"
replace leadno=2631 if country=="Syria" & leader=="El-Kudsi"
replace leadno=2632 if country=="Syria" & leader=="Atassi, L."
replace leadno=2633 if country=="Syria" & leader=="Al-Hafiz"
replace leadno=2634 if country=="Syria" & leader=="El-Atassi, N."
replace leadno=2635 if country=="Syria" & leader=="Al-Khatib"
replace leadno=2636 if country=="Syria" & leader=="Al-Assad H."
replace leadno=2637 if country=="Syria" & leader=="Bashar al-Assad"
replace leadno=2638 if country=="Taiwan" & leader=="Li Tsung-jen"
replace leadno=2639 if country=="Taiwan" & leader=="Chiang Kai-shek"
replace leadno=2640 if country=="Taiwan" & leader=="Yen Chia-Kan"
replace leadno=2641 if country=="Taiwan" & leader=="Chiang Ching-Kuo"
replace leadno=2642 if country=="Taiwan" & leader=="Lee Teng-Hui"
replace leadno=2643 if country=="Taiwan" & leader=="Chen Shui-bian"
replace leadno=2644 if country=="Tajikistan" & leader=="Kadreddin Aslonov"
replace leadno=2645 if country=="Tajikistan" & leader=="Nabiyev"
replace leadno=2646 if country=="Tajikistan" & leader=="Iskandrov"
replace leadno=2647 if country=="Tajikistan" & leader=="Rakhmonov"
replace leadno=2648 if country=="Tanzania" & leader=="Nyerere"
replace leadno=2649 if country=="Tanzania" & leader=="Mwinyi"
replace leadno=2650 if country=="Tanzania" & leader=="Mkapa"
replace leadno=2651 if country=="Thailand" & leader=="Rama V"
replace leadno=2652 if country=="Thailand" & leader=="Rama VI"
replace leadno=2653 if country=="Thailand" & leader=="Rama VII"
replace leadno=2654 if country=="Thailand" & leader=="Phraya Mano"
replace leadno=2655 if country=="Thailand" & leader=="Phahon"
replace leadno=2656 if country=="Thailand" & leader=="Plaek Pibulsongkram"
replace leadno=2657 if country=="Thailand" & leader=="Pridi Banomyong"
replace leadno=2658 if country=="Thailand" & leader=="Plaek Pibulsongkram"
replace leadno=2659 if country=="Thailand" & leader=="Pote Sarasin"
replace leadno=2660 if country=="Thailand" & leader=="Thanon Kittakachorn"
replace leadno=2661 if country=="Thailand" & leader=="Sarit"
replace leadno=2662 if country=="Thailand" & leader=="Thanon Kittakachorn"
replace leadno=2663 if country=="Thailand" & leader=="Sanya"
replace leadno=2664 if country=="Thailand" & leader=="Seni Pramoj"
replace leadno=2665 if country=="Thailand" & leader=="Kukrot Pramoj"
replace leadno=2666 if country=="Thailand" & leader=="Seni Pramoj"
replace leadno=2667 if country=="Thailand" & leader=="Sangad"
replace leadno=2668 if country=="Thailand" & leader=="Thanin Kraivichien"
replace leadno=2669 if country=="Thailand" & leader=="Sangad"
replace leadno=2670 if country=="Thailand" & leader=="Kriangsak"
replace leadno=2671 if country=="Thailand" & leader=="Prem"
replace leadno=2672 if country=="Thailand" & leader=="Choonhavan"
replace leadno=2673 if country=="Thailand" & leader=="Panyarachun"
replace leadno=2674 if country=="Thailand" & leader=="Kraprayoon"
replace leadno=2675 if country=="Thailand" & leader=="Panyarachun"
replace leadno=2676 if country=="Thailand" & leader=="Leekpai"
replace leadno=2677 if country=="Thailand" & leader=="Silpa-Archa"
replace leadno=2678 if country=="Thailand" & leader=="Chavalit Yongchaiyudh"
replace leadno=2679 if country=="Thailand" & leader=="Leekpai"
replace leadno=2680 if country=="Thailand" & leader=="Thaksin Shinawatra"
replace leadno=2681 if country=="Togo" & leader=="Olympio"
replace leadno=2682 if country=="Togo" & leader=="Grunitzky"
replace leadno=2683 if country=="Togo" & leader=="Dadjo"
replace leadno=2684 if country=="Togo" & leader=="Eyadema"
replace leadno=2685 if country=="Trinidad and Tobago" & leader=="Williams"
replace leadno=2686 if country=="Trinidad and Tobago" & leader=="Chambers"
replace leadno=2687 if country=="Trinidad and Tobago" & leader=="Robinson"
replace leadno=2688 if country=="Trinidad and Tobago" & leader=="Manning"
replace leadno=2689 if country=="Trinidad and Tobago" & leader=="Panday"
replace leadno=2690 if country=="Trinidad and Tobago" & leader=="Manning"
replace leadno=2691 if country=="Tunisia" & leader=="Muhammad III"
replace leadno=2692 if country=="Tunisia" & leader=="Muhammad al-Amin"
replace leadno=2693 if country=="Tunisia" & leader=="Ben Ali Bourguiba"
replace leadno=2694 if country=="Tunisia" & leader=="Zine Al-Abidine Ben Ali"
replace leadno=2695 if country=="Turkey" & leader=="Abdul Aziz"
replace leadno=2696 if country=="Turkey" & leader=="Murad V"
replace leadno=2697 if country=="Turkey" & leader=="Hamid II"
replace leadno=2698 if country=="Turkey" & leader=="Mahmud Sefket Pasha"
replace leadno=2699 if country=="Turkey" & leader=="Enver Pasha"
replace leadno=2700 if country=="Turkey" & leader=="Mehmet VI Vahidettin"
replace leadno=2701 if country=="Turkey" & leader=="Ataturk"
replace leadno=2702 if country=="Turkey" & leader=="Inonu"
replace leadno=2703 if country=="Turkey" & leader=="Menderes"
replace leadno=2704 if country=="Turkey" & leader=="Gursel"
replace leadno=2705 if country=="Turkey" & leader=="Inonu"
replace leadno=2706 if country=="Turkey" & leader=="Urguplu"
replace leadno=2707 if country=="Turkey" & leader=="Demirel"
replace leadno=2708 if country=="Turkey" & leader=="Erim"
replace leadno=2709 if country=="Turkey" & leader=="Melen"
replace leadno=2710 if country=="Turkey" & leader=="Talu"
replace leadno=2711 if country=="Turkey" & leader=="Ecevit"
replace leadno=2712 if country=="Turkey" & leader=="Irmak"
replace leadno=2713 if country=="Turkey" & leader=="Demirel"
replace leadno=2714 if country=="Turkey" & leader=="Ecevit"
replace leadno=2715 if country=="Turkey" & leader=="Demirel"
replace leadno=2716 if country=="Turkey" & leader=="Ecevit"
replace leadno=2717 if country=="Turkey" & leader=="Demirel"
replace leadno=2718 if country=="Turkey" & leader=="Evren"
replace leadno=2719 if country=="Turkey" & leader=="Ozal"
replace leadno=2720 if country=="Turkey" & leader=="Akbulut"
replace leadno=2721 if country=="Turkey" & leader=="Yilmaz"
replace leadno=2722 if country=="Turkey" & leader=="Demirel"
replace leadno=2723 if country=="Turkey" & leader=="Erdal Inonu"
replace leadno=2724 if country=="Turkey" & leader=="Ciller"
replace leadno=2725 if country=="Turkey" & leader=="Yilmaz"
replace leadno=2726 if country=="Turkey" & leader=="Erbakan"
replace leadno=2727 if country=="Turkey" & leader=="Yilmaz"
replace leadno=2728 if country=="Turkey" & leader=="Ecevit"
replace leadno=2729 if country=="Turkey" & leader=="Abdullah Gul"
replace leadno=2730 if country=="Turkey" & leader=="Erdogan"
replace leadno=2731 if country=="Turkmenistan" & leader=="Niyazov"
replace leadno=2732 if country=="Uganda" & leader=="Obote"
replace leadno=2733 if country=="Uganda" & leader=="Amin"
replace leadno=2734 if country=="Uganda" & leader=="Yusuf Lule"
replace leadno=2735 if country=="Uganda" & leader=="Banaisa"
replace leadno=2736 if country=="Uganda" & leader=="Paulo Muwanga"
replace leadno=2737 if country=="Uganda" & leader=="Obote"
replace leadno=2738 if country=="Uganda" & leader=="Okello"
replace leadno=2739 if country=="Uganda" & leader=="Museveni"
replace leadno=2740 if country=="Ukraine" & leader=="Kravchuk"
replace leadno=2741 if country=="Ukraine" & leader=="Kuchma"
replace leadno=2742 if country=="United Arab Emirates" & leader=="An-Nahayan"
replace leadno=2743 if country=="United Kingdom" & leader=="Disraeli"
replace leadno=2744 if country=="United Kingdom" & leader=="Gladstone"
replace leadno=2745 if country=="United Kingdom" & leader=="Salisbury"
replace leadno=2746 if country=="United Kingdom" & leader=="Gladstone"
replace leadno=2747 if country=="United Kingdom" & leader=="Salisbury"
replace leadno=2748 if country=="United Kingdom" & leader=="Gladstone"
replace leadno=2749 if country=="United Kingdom" & leader=="Rosebery"
replace leadno=2750 if country=="United Kingdom" & leader=="Salisbury"
replace leadno=2751 if country=="United Kingdom" & leader=="Balfour"
replace leadno=2752 if country=="United Kingdom" & leader=="Campbell-Bannerman"
replace leadno=2753 if country=="United Kingdom" & leader=="Asquith"
replace leadno=2754 if country=="United Kingdom" & leader=="Lloyd-George"
replace leadno=2755 if country=="United Kingdom" & leader=="Bonar Law"
replace leadno=2756 if country=="United Kingdom" & leader=="Baldwin"
replace leadno=2757 if country=="United Kingdom" & leader=="MacDonald"
replace leadno=2758 if country=="United Kingdom" & leader=="Baldwin"
replace leadno=2759 if country=="United Kingdom" & leader=="MacDonald"
replace leadno=2760 if country=="United Kingdom" & leader=="Baldwin"
replace leadno=2761 if country=="United Kingdom" & leader=="Chamberlin"
replace leadno=2762 if country=="United Kingdom" & leader=="Churchill"
replace leadno=2763 if country=="United Kingdom" & leader=="Atlee"
replace leadno=2764 if country=="United Kingdom" & leader=="Churchill"
replace leadno=2765 if country=="United Kingdom" & leader=="Eden"
replace leadno=2766 if country=="United Kingdom" & leader=="MacMillan"
replace leadno=2767 if country=="United Kingdom" & leader=="Douglas-Home"
replace leadno=2768 if country=="United Kingdom" & leader=="Wilson"
replace leadno=2769 if country=="United Kingdom" & leader=="Heath"
replace leadno=2770 if country=="United Kingdom" & leader=="Wilson"
replace leadno=2771 if country=="United Kingdom" & leader=="Callaghan"
replace leadno=2772 if country=="United Kingdom" & leader=="Thatcher"
replace leadno=2773 if country=="United Kingdom" & leader=="Major"
replace leadno=2774 if country=="United Kingdom" & leader=="Blair"
replace leadno=2775 if country=="United States" & leader=="Grant"
replace leadno=2776 if country=="United States" & leader=="Hayes"
replace leadno=2777 if country=="United States" & leader=="Garfield"
replace leadno=2778 if country=="United States" & leader=="Arthur"
replace leadno=2779 if country=="United States" & leader=="Cleveland"
replace leadno=2780 if country=="United States" & leader=="Harrison"
replace leadno=2781 if country=="United States" & leader=="Cleveland"
replace leadno=2782 if country=="United States" & leader=="McKinley"
replace leadno=2783 if country=="United States" & leader=="Roosevelt, T."
replace leadno=2784 if country=="United States" & leader=="Taft"
replace leadno=2785 if country=="United States" & leader=="Wilson"
replace leadno=2786 if country=="United States" & leader=="Harding"
replace leadno=2787 if country=="United States" & leader=="Coolidge"
replace leadno=2788 if country=="United States" & leader=="Hoover"
replace leadno=2789 if country=="United States" & leader=="Roosevelt, F."
replace leadno=2790 if country=="United States" & leader=="Truman"
replace leadno=2791 if country=="United States" & leader=="Eisenhower"
replace leadno=2792 if country=="United States" & leader=="Kennedy"
replace leadno=2793 if country=="United States" & leader=="Johnson"
replace leadno=2794 if country=="United States" & leader=="Nixon"
replace leadno=2795 if country=="United States" & leader=="Ford"
replace leadno=2796 if country=="United States" & leader=="Carter"
replace leadno=2797 if country=="United States" & leader=="Reagan"
replace leadno=2798 if country=="United States" & leader=="Bush"
replace leadno=2799 if country=="United States" & leader=="Clinton"
replace leadno=2800 if country=="United States" & leader=="G.W. Bush"
replace leadno=2801 if country=="Uruguay" & leader=="Jose Eugenio Ellauri"
replace leadno=2802 if country=="Uruguay" & leader=="Pedro Varela Olivera"
replace leadno=2803 if country=="Uruguay" & leader=="Lorenzo Latorre"
replace leadno=2804 if country=="Uruguay" & leader=="Francisco Antonino Vidal"
replace leadno=2805 if country=="Uruguay" & leader=="Lorenzo Latorre"
replace leadno=2806 if country=="Uruguay" & leader=="Francisco Antonino Vidal"
replace leadno=2807 if country=="Uruguay" & leader=="Maximo Santos"
replace leadno=2808 if country=="Uruguay" & leader=="Francisco Antonino Vidal"
replace leadno=2809 if country=="Uruguay" & leader=="Maximo Santos"
replace leadno=2810 if country=="Uruguay" & leader=="Maximo Tajes"
replace leadno=2811 if country=="Uruguay" & leader=="Julio Herrera y Obes"
replace leadno=2812 if country=="Uruguay" & leader=="Juan Idiarte Borda"
replace leadno=2813 if country=="Uruguay" & leader=="Juan Lindolfo Cuestas"
replace leadno=2814 if country=="Uruguay" & leader=="Jose Batlle y Ordonez"
replace leadno=2815 if country=="Uruguay" & leader=="Claudio Williman"
replace leadno=2816 if country=="Uruguay" & leader=="Jose Batlle y Ordonez"
replace leadno=2817 if country=="Uruguay" & leader=="Feliciano Viera"
replace leadno=2818 if country=="Uruguay" & leader=="Baltasar Brum"
replace leadno=2819 if country=="Uruguay" & leader=="Serrato"
replace leadno=2820 if country=="Uruguay" & leader=="Campisteguy"
replace leadno=2821 if country=="Uruguay" & leader=="Terra"
replace leadno=2822 if country=="Uruguay" & leader=="Baldomir"
replace leadno=2823 if country=="Uruguay" & leader=="Amezaga"
replace leadno=2824 if country=="Uruguay" & leader=="Berreta"
replace leadno=2825 if country=="Uruguay" & leader=="Batlle Berres"
replace leadno=2826 if country=="Uruguay" & leader=="Martinez Trueba"
replace leadno=2827 if country=="Uruguay" & leader=="Batlle Berres"
replace leadno=2828 if country=="Uruguay" & leader=="Zubiria"
replace leadno=2829 if country=="Uruguay" & leader=="Lezama"
replace leadno=2830 if country=="Uruguay" & leader=="Fisher"
replace leadno=2831 if country=="Uruguay" & leader=="Echegoyen"
replace leadno=2832 if country=="Uruguay" & leader=="Nardone"
replace leadno=2833 if country=="Uruguay" & leader=="Haedo"
replace leadno=2834 if country=="Uruguay" & leader=="Harrison"
replace leadno=2835 if country=="Uruguay" & leader=="Crespo"
replace leadno=2836 if country=="Uruguay" & leader=="Giannattasio"
replace leadno=2837 if country=="Uruguay" & leader=="Beltran"
replace leadno=2838 if country=="Uruguay" & leader=="Heber Usher"
replace leadno=2839 if country=="Uruguay" & leader=="Gestido"
replace leadno=2840 if country=="Uruguay" & leader=="Pacheco Areco"
replace leadno=2841 if country=="Uruguay" & leader=="Bordaberry"
replace leadno=2842 if country=="Uruguay" & leader=="Demichelli"
replace leadno=2843 if country=="Uruguay" & leader=="Mendez Manfredini"
replace leadno=2844 if country=="Uruguay" & leader=="Alvarez Armalino"
replace leadno=2845 if country=="Uruguay" & leader=="Sanguinetti"
replace leadno=2846 if country=="Uruguay" & leader=="Lacalle de Herrera"
replace leadno=2847 if country=="Uruguay" & leader=="Sanguinetti"
replace leadno=2848 if country=="Uruguay" & leader=="Jorge Batlle"
replace leadno=2849 if country=="Uzbekistan" & leader=="Karimov"
replace leadno=2850 if country=="Venezuela" & leader=="Guzman Blanco"
replace leadno=2851 if country=="Venezuela" & leader=="Jacinto Guitierrez Martinez de Aleman"
replace leadno=2852 if country=="Venezuela" & leader=="Linares Alcantara"
replace leadno=2853 if country=="Venezuela" & leader=="Jacinto Guitierrez Martinez de Aleman"
replace leadno=2854 if country=="Venezuela" & leader=="Guzman Blanco"
replace leadno=2855 if country=="Venezuela" & leader=="Joaquin Crespo"
replace leadno=2856 if country=="Venezuela" & leader=="Antonio Diez"
replace leadno=2857 if country=="Venezuela" & leader=="Guzman Blanco"
replace leadno=2858 if country=="Venezuela" & leader=="Lopez"
replace leadno=2859 if country=="Venezuela" & leader=="Rojas Paul"
replace leadno=2860 if country=="Venezuela" & leader=="Palacio"
replace leadno=2861 if country=="Venezuela" & leader=="Tell Villegas"
replace leadno=2862 if country=="Venezuela" & leader=="Tell Villegas Pulido"
replace leadno=2863 if country=="Venezuela" & leader=="Joaquin Crespo"
replace leadno=2864 if country=="Venezuela" & leader=="Guzman Alvarez"
replace leadno=2865 if country=="Venezuela" & leader=="Joaquin Crespo"
replace leadno=2866 if country=="Venezuela" & leader=="Guzman Alvarez"
replace leadno=2867 if country=="Venezuela" & leader=="Andrade"
replace leadno=2868 if country=="Venezuela" & leader=="Cipriano Castro"
replace leadno=2869 if country=="Venezuela" & leader=="Gomez"
replace leadno=2870 if country=="Venezuela" & leader=="Lopez Contreras"
replace leadno=2871 if country=="Venezuela" & leader=="Medina Angarita"
replace leadno=2872 if country=="Venezuela" & leader=="Betancourt"
replace leadno=2873 if country=="Venezuela" & leader=="Gallegos"
replace leadno=2874 if country=="Venezuela" & leader=="Delgado Chalbaud"
replace leadno=2875 if country=="Venezuela" & leader=="Perez Jimenez"
replace leadno=2876 if country=="Venezuela" & leader=="Larrazabal"
replace leadno=2877 if country=="Venezuela" & leader=="Sanabria"
replace leadno=2878 if country=="Venezuela" & leader=="Betancourt"
replace leadno=2879 if country=="Venezuela" & leader=="Leoni"
replace leadno=2880 if country=="Venezuela" & leader=="Caldera Rodriguez"
replace leadno=2881 if country=="Venezuela" & leader=="Andres Perez"
replace leadno=2882 if country=="Venezuela" & leader=="Campins"
replace leadno=2883 if country=="Venezuela" & leader=="Lusinchi"
replace leadno=2884 if country=="Venezuela" & leader=="Andres Perez"
replace leadno=2885 if country=="Venezuela" & leader=="Velasquez"
replace leadno=2886 if country=="Venezuela" & leader=="Caldera Rodriguez"
replace leadno=2887 if country=="Venezuela" & leader=="Hugo Chavez"
replace leadno=2888 if country=="Vietnam" & leader=="Tu Duc"
replace leadno=2889 if country=="Vietnam" & leader=="Duc Duc"
replace leadno=2890 if country=="Vietnam" & leader=="Hiep Hoa"
replace leadno=2891 if country=="Vietnam" & leader=="Regency"
replace leadno=2892 if country=="Vietnam" & leader=="Dong Khanh"
replace leadno=2893 if country=="Vietnam" & leader=="Thanh Thai"
replace leadno=2894 if country=="Vietnam" & leader=="Ho Chi Minh"
replace leadno=2895 if country=="Vietnam" & leader=="Le Duan"
replace leadno=2896 if country=="Vietnam" & leader=="Truong Chinh"
replace leadno=2897 if country=="Vietnam" & leader=="Nguyen Van Linh"
replace leadno=2898 if country=="Vietnam" & leader=="Do Muoi"
replace leadno=2899 if country=="Vietnam" & leader=="Phieu"
replace leadno=2900 if country=="Vietnam" & leader=="Nong Duc Manh"
replace leadno=2901 if country=="Yemen Arab Republic" & leader=="Yahya"
replace leadno=2902 if country=="Yemen Arab Republic" & leader=="Ibn Ahmed Alwazir"
replace leadno=2903 if country=="Yemen Arab Republic" & leader=="Ibn Yahya Hamid"
replace leadno=2904 if country=="Yemen Arab Republic" & leader=="Al-Badr"
replace leadno=2905 if country=="Yemen Arab Republic" & leader=="AL-Sallal"
replace leadno=2906 if country=="Yemen Arab Republic" & leader=="Al-Iryani"
replace leadno=2907 if country=="Yemen Arab Republic" & leader=="Al-Hamadi"
replace leadno=2908 if country=="Yemen Arab Republic" & leader=="Al-Ghashmi"
replace leadno=2909 if country=="Yemen Arab Republic" & leader=="Saleh al-Hashidi"
replace leadno=2910 if country=="Yemen People's Republic" & leader=="Al-Shaabi"
replace leadno=2911 if country=="Yemen People's Republic" & leader=="Ali Rubayyi"
replace leadno=2912 if country=="Yemen People's Republic" & leader=="Ali Nassir Hassani"
replace leadno=2913 if country=="Yemen People's Republic" & leader=="Ismail"
replace leadno=2914 if country=="Yemen People's Republic" & leader=="Ali Nassir Hassani"
replace leadno=2915 if country=="Yemen People's Republic" & leader=="Attas"
replace leadno=2916 if country=="Yugoslavia" & leader=="Alexander"
replace leadno=2917 if country=="Yugoslavia" & leader=="Prince Paul"
replace leadno=2918 if country=="Yugoslavia" & leader=="Peter II"
replace leadno=2919 if country=="Yugoslavia" & leader=="Tito"
replace leadno=2920 if country=="Yugoslavia" & leader=="Kolisevski"
replace leadno=2921 if country=="Yugoslavia" & leader=="Mijatovic"
replace leadno=2922 if country=="Yugoslavia" & leader=="Kraigher"
replace leadno=2923 if country=="Yugoslavia" & leader=="Stambolic"
replace leadno=2924 if country=="Yugoslavia" & leader=="Spiljac"
replace leadno=2925 if country=="Yugoslavia" & leader=="Djuranovic"
replace leadno=2926 if country=="Yugoslavia" & leader=="Vlajkovic"
replace leadno=2927 if country=="Yugoslavia" & leader=="Hasani"
replace leadno=2928 if country=="Yugoslavia" & leader=="Mojsov"
replace leadno=2929 if country=="Yugoslavia" & leader=="Dizarevic"
replace leadno=2930 if country=="Yugoslavia" & leader=="Milosevic"
replace leadno=2931 if country=="Yugoslavia" & leader=="Kostunica"
replace leadno=2932 if country=="Zambia" & leader=="Kaunda"
replace leadno=2933 if country=="Zambia" & leader=="Chiluba"
replace leadno=2934 if country=="Zambia" & leader=="Levy Mwanawasa"
replace leadno=2935 if country=="Zimbabwe" & leader=="Smith"
replace leadno=2936 if country=="Zimbabwe" & leader=="Muzorewa"
replace leadno=2937 if country=="Zimbabwe" & leader=="Mugabe"
replace leadno=2938 if country=="Marshall Islands" & leader=="Kabua, Imata"
replace leadno=2939 if country=="Luxembourg" & leader=="Werner"
replace leadno=2941 if country=="Luxembourg" & leader=="Santer"
replace leadno=2942 if country=="Solomon Islands" & leader=="Mamaloni"
replace leadno=2943 if country=="Iceland" & leader=="Jonsson"
replace leadno=2944 if country=="TimorLeste" & leader=="Gusmao"
replace leadno=2945 if country=="Barbados" & leader=="Barrow"
replace leadno=589 if country=="Congo, Rep." & leader=="Ngouabi"
replace leadno=2697 if country=="Ottoman Empire" & leader=="Abdulhamid II"
replace leadno=2948 if country=="Luxembourg" & leader=="Thorn G."
replace leadno=2949 if country=="Barbados" & leader=="Adams"
replace leadno=2950 if country=="Grenada" & leader=="Brathwaite, Nicholas"
replace leadno=2952 if country=="Grenada" & leader=="Bishop, Maurice"
replace leadno=2089 if country=="Paraguay" & leader=="J. G. Gonz�lez"
replace leadno=590 if country=="Congo, Rep." & leader=="Opango"
replace leadno=2956 if country=="Transvaal" & leader=="William Palmer"
replace leadno=2957 if country=="Kiribati" & leader=="Tito, Teburoro"
replace leadno=2958 if country=="Iceland" & leader=="Palsson"
replace leadno=2959 if country=="Trinidad and Tobago" & leader=="Manning"
replace leadno=2960 if country=="Suriname" & leader=="Wijdenbosch"
replace leadno=2961 if country=="Vanuatu" & leader=="Carlot, Maxime"
replace leadno=2962 if country=="Philippines" & leader=="Laurel, Jos� Paciano"
replace leadno=2963 if country=="Iceland" & leader=="Thoroddsen"
replace leadno=2964 if country=="Philippines" & leader=="Aguinaldo, Emilio"
replace leadno=2965 if country=="Transvaal" & leader=="Shepstone"
replace leadno=1610 if country=="Kyrgyzstan" & leader=="Akayev"
replace leadno=2967 if country=="Marshall Islands" & leader=="Kabua, Amata"
replace leadno=569 if country=="Colombia" & leader=="Barco Vargas, Virgilio"
replace leadno=2969 if country=="Tibet" & leader=="14th Dalai Lama"
replace leadno=2970 if country=="Tuvalu" & leader=="Ionatana, Ionatana"
replace leadno=2163 if country=="Peru" & leader=="Bustamante y Rivero, Jose"
replace leadno=2972 if country=="Haiti" & leader=="Dominique"
replace leadno=2974 if country=="Maldives" & leader=="Ali Didi"
replace leadno=2977 if country=="Trinidad and Tobago" & leader=="Panday"
replace leadno=2978 if country=="Iceland" & leader=="Thors"
replace leadno=2979 if country=="Malta" & leader=="Mintoff"
replace leadno=2980 if country=="Luxembourg" & leader=="Bech"
replace leadno=2981 if country=="Grenada" & leader=="Blaize, Herbert"
replace leadno=2982 if country=="Cape Verde" & leader=="Pires"
replace leadno=2983 if country=="Suriname" & leader=="Kraag"
replace leadno=1949 if country=="Korea, Dem. Rep." & leader=="Kim Jong-Il"
replace leadno=2985 if country=="Zanzibar" & leader=="Shamte Hamadi"
replace leadno=2986 if country=="St. Vincent & Grenadines" & leader=="Mitchell, James F."
replace leadno=2987 if country=="Greece" & leader=="Gizikis"
replace leadno=2988 if country=="St. Kitts & Nevis" & leader=="Simmonds, Kennedy A."
replace leadno=2989 if country=="Dominica" & leader=="Douglas, Roosevelt"
replace leadno=587 if country=="Congo, Rep." & leader=="Debat"
replace leadno=2991 if country=="New Zealand" & leader=="Seddon, Richard"
replace leadno=2992 if country=="Iceland" & leader=="Thordarson"
replace leadno=2993 if country=="Iceland" & leader=="Hallgrimsson"
replace leadno=2785 if country=="United States" & leader=="Wilson, Woodrow"
replace leadno=2995 if country=="Micronesia Fed. Sts." & leader=="Haglelgam, John R."
replace leadno=685 if country=="Congo, Dem. Rep." & leader=="Mobutu"
replace leadno=664 if country=="Czech Republic" & leader=="V. Klaus"
replace leadno=2998 if country=="Luxembourg" & leader=="Victor Thorn"
replace leadno=2999 if country=="Luxembourg" & leader=="Dupong"
replace leadno=3000 if country=="Malta" & leader=="Olivier"
replace leadno=3001 if country=="Tibet" & leader=="Radreng Hutukto"
replace leadno=3002 if country=="St. Kitts & Nevis" & leader=="Douglas, Denzil"
replace leadno=2138 if country=="Peru" & leader=="Montero Flores"
replace leadno=825 if country=="Ecuador" & leader=="Castro Jijon, Ramon"
replace leadno=3006 if country=="Sao Tome and Principe" & leader=="Trovoada, Miguel"
replace leadno=3007 if country=="Luxembourg" & leader=="Juncker"
replace leadno=3008 if country=="Tibet" & leader=="Demo Tulku Trinley Rabgyey"
replace leadno=2143 if country=="Peru" & leader=="A. Caceres"
replace leadno=2529 if country=="Switzerland" & leader=="Eduard Mulle"
replace leadno=3011 if country=="Tuvalu" & leader=="Luka, Faimalaga"
replace leadno=1897 if country=="New Zealand" & leader=="Clark, Helen"
replace leadno=3014 if country=="St. Lucia" & leader=="Cenac, Winston F."
replace leadno=684 if country=="Congo, Dem. Rep." & leader=="Kasavubu"
replace leadno=3017 if country=="Malta" & leader=="Bonnici"
replace leadno=379 if country=="Bulgaria" & leader=="Ferdinand"
replace leadno=1083 if country=="Gambia, The" & leader=="Jammeh"
replace leadno=3021 if country=="Tibet" & leader=="Taktra Rimpoche"
replace leadno=3022 if country=="Iceland" & leader=="Steinthorsson"
replace leadno=3024 if country=="Sao Tome and Principe" & leader=="Costa, Manuel Pinto da"
replace leadno=3025 if country=="Iceland" & leader=="Benediktsson"
replace leadno=3026 if country=="Luxembourg" & leader=="Paul Eyschen"
replace leadno=3027 if country=="Maldives" & leader=="Gayoom"
replace leadno=3028 if country=="St. Lucia" & leader=="Anthony, Kenny"
replace leadno=3030 if country=="Antigua" & leader=="Bird, Lester"
replace leadno=2765 if country=="United Kingdom" & leader=="Eden, Anthony"
replace leadno=3032 if country=="St. Vincent & Grenadines" & leader=="Eustace, Arnhim"
replace leadno=3033 if country=="Iceland" & leader=="Stefansson"
replace leadno=3034 if country=="Dominica" & leader=="Seraphine, J. Oliver"
replace leadno=3035 if country=="Seychelles" & leader=="Rene, France Albert"
replace leadno=3036 if country=="Barbados" & leader=="St. John"
replace leadno=767 if country=="Dominican Republic" & leader=="Fernandez"
replace leadno=1082 if country=="Gambia, The" & leader=="Jawara"
replace leadno=3039 if country=="St. Vincent & Grenadines" & leader=="Cato, Milton"
replace leadno=3041 if country=="Tuvalu" & leader=="Puapua, Tomasi"
replace leadno=3042 if country=="Sweden" & leader=="Bildt, C."
replace leadno=3043 if country=="Antigua" & leader=="Bird, Vere Cornwall"
replace leadno=3045 if country=="Tuvalu" & leader=="Lautti, Toaripi"
replace leadno=3046 if country=="Vanuatu" & leader=="Kalpokas, Donald"
replace leadno=168 if country=="Austria" & leader=="Franz Joseph"
replace leadno=3048 if country=="Luxembourg" & leader=="Frieden"
replace leadno=3049 if country=="Transvaal" & leader=="Kruger"
replace leadno=3050 if country=="Grenada" & leader=="Gairy, Eric"
replace leadno=3051 if country=="Trinidad and Tobago" & leader=="Chambers"
replace leadno=849 if country=="El Salvador" & leader=="Gonzalez Portillo"
replace leadno=2698 if country=="Ottoman Empire" & leader=="Mehmed V"
replace leadno=3056 if country=="Belize" & leader=="Esquivel"
replace leadno=1948 if country=="Korea, Dem. Rep." & leader=="Kim Il-Sung"
replace leadno=640 if country=="Cuba" & leader=="Gomez JM"
replace leadno=3060 if country=="Suriname" & leader=="Shankar"
replace leadno=3061 if country=="Dominica" & leader=="Charles, Pierre"
replace leadno=3062 if country=="Solomon Islands" & leader=="Alebua"
replace leadno=3063 if country=="Belize" & leader=="Musa"
replace leadno=3064 if country=="Vanuatu" & leader=="Lini, Walter"
replace leadno=3065 if country=="Vanuatu" & leader=="Vohor, Serge"
replace leadno=3066 if country=="Nepal" & leader=="Gyanendra Bir Bikram Shah Deva"
replace leadno=3067 if country=="Luxembourg" & leader=="Prum"
replace leadno=2053 if country=="Panama" & leader=="Jimenez, Enrique Adolfo"
replace leadno=3070 if country=="Suriname" & leader=="Bouterse"
replace leadno=3071 if country=="St. Lucia" & leader=="Compton, John G. M."
replace leadno=586 if country=="Congo, Rep." & leader=="Youlou"
replace leadno=3073 if country=="Kiribati" & leader=="Teannaki, Teatao"
replace leadno=3074 if country=="Cape Verde" & leader=="Neves"
replace leadno=3075 if country=="Vanuatu" & leader=="Sop�, Barak"
replace leadno=3076 if country=="Tibet" & leader=="13th Dalai Lama"
replace leadno=3077 if country=="Iceland" & leader=="Oddsson"
replace leadno=3078 if country=="Tuvalu" & leader=="Paeniu, Bikenibeau"
replace leadno=3079 if country=="Solomon Islands" & leader=="Kenilorea"
replace leadno=3080 if country=="Barbados" & leader=="Arthur"
replace leadno=3081 if country=="Barbados" & leader=="Sandiford"
replace leadno=3082 if country=="Transvaal" & leader=="Burgers"
replace leadno=891 if country=="El Salvador" & leader=="Flores, Francisco"
replace leadno=687 if country=="Congo, Dem. Rep." & leader=="Joseph Kabila"
replace leadno=3086 if country=="Solomon Islands" & leader=="Ulufa'alu"
replace leadno=3087 if country=="Solomon Islands" & leader=="Hilly"
replace leadno=3088 if country=="Luxembourg" & leader=="Felix de Blochausen"
replace leadno=3089 if country=="Suriname" & leader=="Venetiaan"
replace leadno=3090 if country=="Transvaal" & leader=="Schalk Burger"
replace leadno=1331 if country=="Honduras" & leader=="Melgar Castro, Juan Alberto"
replace leadno=3092 if country=="Suriname" & leader=="Ferrier"
replace leadno=3093 if country=="Dominica" & leader=="John, Patrick R."
replace leadno=3095 if country=="Transvaal" & leader=="Louis Botha"
replace leadno=3097 if country=="Bahamas" & leader=="Pindling"
replace leadno=3098 if country=="Montenegro" & leader=="Nikola I Petrovic-Njegos"
replace leadno=3099 if country=="Dominica" & leader=="Charles, Eugenia"
replace leadno=3100 if country=="Luxembourg" & leader=="Edouard Thilges"
replace leadno=3101 if country=="Tibet" & leader=="Tatsak Rinpoche"
replace leadno=3102 if country=="Trinidad and Tobago" & leader=="Williams"
replace leadno=390 if country=="Bulgaria" & leader=="Dimitrov, P."
replace leadno=3104 if country=="Luxembourg" & leader=="Reuter"
replace leadno=3105 if country=="Grenada" & leader=="Mitchell, Keith"
replace leadno=3106 if country=="St. Lucia" & leader=="Louisy, Allan"
replace leadno=3107 if country=="Iceland" & leader=="Johannesson"
replace leadno=3108 if country=="Bangladesh" & leader=="Sayem"
replace leadno=3109 if country=="Seychelles" & leader=="Mancham, James R."
replace leadno=2778 if country=="United States" & leader=="C. Arthur"
replace leadno=3111 if country=="Micronesia Fed. Sts." & leader=="Falcam, Leo A."
replace leadno=592 if country=="Congo, Rep." & leader=="Lissouba"
replace leadno=2834 if country=="Uruguay" & leader=="Harrison, Faustino"
replace leadno=3114 if country=="Transvaal" & leader=="Triumvirate"
replace leadno=686 if country=="Congo, Dem. Rep." & leader=="Laurent Kabila"
replace leadno=3116 if country=="Bahamas" & leader=="Ingraham"
replace leadno=3117 if country=="Micronesia Fed. Sts." & leader=="Olter, Bailey"
replace leadno=3118 if country=="Bahamas" & leader=="Christie"
replace leadno=3119 if country=="Kiribati" & leader=="Tabai, Ieremia"
replace leadno=3120 if country=="Afghanistan" & leader=="Zahir Shah"
replace leadno=3121 if country=="Iceland" & leader=="Hafstein"
replace leadno=3122 if country=="Iceland" & leader=="Jonasson"
replace leadno=3123 if country=="Belize" & leader=="Price"
replace leadno=3124 if country=="Transvaal" & leader=="Lanyon"
replace leadno=3125 if country=="Maldives" & leader=="Nasir"
replace leadno=3126 if country=="Cape Verde" & leader=="Veiga"
replace leadno=169 if country=="Austria" & leader=="Karl I"
replace leadno=3129 if country=="Brunei" & leader=="Hassanal Bolkiah"
replace leadno=3130 if country=="Tonga" & leader=="Taufa�hau Tupou IV"
replace leadno=3131 if country=="Malta" & leader=="Sant"
replace leadno=3132 if country=="Trinidad and Tobago" & leader=="Robinson"
replace leadno=3133 if country=="St. Lucia" & leader=="Lewis, Vaughn Allen"
replace leadno=3134 if country=="Marshall Islands" & leader=="Note, Kessai"
replace leadno=3135 if country=="Luxembourg" & leader=="Leon Kauffman"
replace leadno=3136 if country=="Solomon Islands" & leader=="Sogavare"
replace leadno=3137 if country=="Malta" & leader=="Adami"
replace leadno=2759 if country=="United Kingdom" & leader=="Macdonald, Ramsay"
replace leadno=3141 if country=="Micronesia Fed. Sts." & leader=="Nena, Jacob"
replace leadno=3142 if country=="Dominica" & leader=="James, Edison"
replace leadno=1901 if country=="Nicaragua" & leader=="A. Cardenas"
replace leadno=2733 if country=="Uganda" & leader=="Amin, Idi"
replace leadno=3145 if country=="Iceland" & leader=="Hermannsson"
replace leadno=3146 if country=="Tuvalu" & leader=="Laatasi, Kamuta"
replace leadno=1883 if country=="New Zealand" & leader=="Fraser, Peter"
replace leadno=593 if country=="Congo, Rep." & leader=="Nguesso"
replace leadno=3149 if country=="Solomon Islands" & leader=="Kemakeza"
replace leadno=3150 if country=="Zanzibar" & leader=="Kassim Hanga"
replace leadno=3151 if country=="Philippines" & leader=="Osme�a, Sergio"

drop if leadno==.
*two duplications*
drop if country=="Ottoman Empire"
save "C:\Democracy\edreynal work1.dta", replace
sort leadno year
merge leadno using "C:\Democracy\revision dec 2011\leader.dta", sort uniqmaster
sort leadno
replace year=year(eindate) if eindate~=.
drop if leadno==.
gen country2 = ccname
replace country2 = country if ccname==""
sort country2 year
save "C:\Democracy\edreynal work1.dta", replace
sort country2 eindate
replace ccode = 700 if country2=="Afghanistan"
replace ccode = 339 if country2=="Albania"
replace ccode = 615 if country2=="Algeria"
replace ccode = 540 if country2=="Angola"
replace ccode = 160 if country2=="Argentina"
replace ccode = 371 if country2=="Armenia"
replace ccode = 900 if country2=="Australia"
replace ccode = 305 if country2=="Austria"
replace ccode = 373 if country2=="Azerbaijan"
replace ccode = 692 if country2=="Bahrain"
replace ccode = 771 if country2=="Bangladesh"
replace ccode = 370 if country2=="Belarus"
replace ccode = 211 if country2=="Belgium"
replace ccode = 434 if country2=="Benin"
replace ccode = 145 if country2=="Bolivia"
replace ccode = 346 if country2=="Bosnia"
replace ccode = 346 if country2=="Bosnia and Herzegovina"
replace ccode = 571 if country2=="Botswana"
replace ccode = 140 if country2=="Brazil"
replace ccode = 355 if country2=="Bulgaria"
replace ccode = 439 if country2=="Burkina Faso"
replace ccode = 775 if country2=="Burma"
replace ccode = 775 if country2=="Myanmar"
replace ccode = 775 if country2=="Myanmar (Burma)"
replace ccode = 516 if country2=="Burundi"
replace ccode = 811 if country2=="Cambodia"
replace ccode = 471 if country2=="Cameroon"
replace ccode = 20 if country2=="Canada"
replace ccode = 402 if country2=="Cape Verde"
replace ccode = 482 if country2=="Central African Republic"
replace ccode = 483 if country2=="Chad"
replace ccode = 155 if country2=="Chile"
replace ccode = 710 if country2=="China"
replace ccode = 100 if country2=="Colombia"
replace ccode = 581 if country2=="Comoro Islands"
replace ccode = 581 if country2=="Comoros"
replace ccode = 484 if country2=="Congo 'Brazzaville'"
replace ccode = 484 if country2=="Congo, Rep."
replace ccode = 484 if country2=="Congo"
replace ccode = 94 if country2=="Costa Rica"
replace ccode = 437 if country2=="C�te d'Ivoire"
replace ccode = 437 if country2=="Cote d'Ivoire"
replace ccode = 437 if country2=="Ivory Coast"
replace ccode = 344 if country2=="Croatia"
replace ccode = 40 if country2=="Cuba"
replace ccode = 316 if country2=="Czech Republic"
replace ccode = 315 if country2=="Czechoslovakia"
replace ccode = 390 if country2=="Denmark"
replace ccode = 522 if country2=="Djibouti"
replace ccode = 42 if country2=="Dominican Republic"
replace ccode = 42 if country2=="Dominican Rep"
replace ccode = 130 if country2=="Ecuador"
replace ccode = 651 if country2=="Egypt"
replace ccode = 651 if country2=="Egypt, Arab Rep."
replace ccode = 92 if country2=="El Salvador"
replace ccode = 411 if country2=="Equatorial Guinea"
replace ccode = 531 if country2=="Eritrea"
replace ccode = 530 if country2=="Ethiopia"
replace ccode = 530 if country2=="Ethiopia 1993-"
replace ccode = 530 if country2=="Ethiopia -pre 1993"
replace ccode = 366 if country2=="Estonia"
replace ccode = 375 if country2=="Finland"
replace ccode = 220 if country2=="France"
replace ccode = 481 if country2=="Gabon"
replace ccode = 420 if country2=="Gambia"
replace ccode = 420 if country2=="Gambia, The"
replace ccode = 372 if country2=="Georgia"
replace ccode = 255 if country2=="Germany"
replace ccode = 452 if country2=="Ghana"
replace ccode = 350 if country2=="Greece"
replace ccode = 90 if country2=="Guatemala"
replace ccode = 438 if country2=="Guinea"
replace ccode = 404 if country2=="Guinea Bissau"
replace ccode = 404 if country2=="Guinea-Bissau"
replace ccode = 110 if country2=="Guyana"
replace ccode = 41 if country2=="Ha�ti"
replace ccode = 91 if country2=="Honduras"
replace ccode = 1001 if country2=="Hong Kong SAR, China"
replace ccode = 310 if country2=="Hungary"
replace ccode = 750 if country2=="India"
replace ccode = 850 if country2=="Indonesia (including Timor until 1999)"
replace ccode = 850 if country2=="Indonesia"
replace ccode = 630 if country2=="Iran"
replace ccode = 645 if country2=="Iraq"
replace ccode = 205 if country2=="Ireland"
replace ccode = 666 if country2=="Israel"
replace ccode = 325 if country2=="Italy"
replace ccode = 51 if country2=="Jamaica"
replace ccode = 740 if country2=="Japan"
replace ccode = 663 if country2=="Jordan"
replace ccode = 705 if country2=="Kazakhstan"
replace ccode = 501 if country2=="Kenya"
replace ccode = 347 if country2=="Kosovo"
replace ccode = 690 if country2=="Kuwait"
replace ccode = 703 if country2=="Kyrgyzstan"
replace ccode = 703 if country2=="Kyrgyz Republic"
replace ccode = 812 if country2=="Laos"
replace ccode = 812 if country2=="Lao PDR"
replace ccode = 367 if country2=="Latvia"
replace ccode = 660 if country2=="Lebanon"
replace ccode = 570 if country2=="Lesotho"
replace ccode = 450 if country2=="Liberia"
replace ccode = 620 if country2=="Libya"
replace ccode = 368 if country2=="Lithuania"
replace ccode = 343 if country2=="Macedonia"
replace ccode = 343 if country2=="Macedonia, FYR"
replace ccode = 580 if country2=="Madagascar"
replace ccode = 553 if country2=="Malawi"
replace ccode = 820 if country2=="Malaysia"
replace ccode = 432 if country2=="Mali"
replace ccode = 435 if country2=="Mauritania"
replace ccode = 590 if country2=="Mauritius"
replace ccode = 70 if country2=="Mexico"
replace ccode = 359 if country2=="Moldova"
replace ccode = 712 if country2=="Mongolia"
replace ccode = 341 if country2=="Montenegro"
replace ccode = 600 if country2=="Morocco"
replace ccode = 541 if country2=="Mozambique"
replace ccode = 565 if country2=="Namibia"
replace ccode = 790 if country2=="Nepal"
replace ccode = 210 if country2=="Netherlands"
replace ccode = 920 if country2=="New Zealand"
replace ccode = 93 if country2=="Nicaragua"
replace ccode = 436 if country2=="Niger"
replace ccode = 475 if country2=="Nigeria"
replace ccode = 731 if country2=="North Korea"
replace ccode = 385 if country2=="Norway"
replace ccode = 698 if country2=="Oman"
replace ccode = 770 if country2=="Pakistan"
replace ccode = 770 if country2=="Pakistan-pre-1972"
replace ccode = 770 if country2=="Pakistan-post-1972"
replace ccode = 95 if country2=="Panama"
replace ccode = 150 if country2=="Paraguay"
replace ccode = 135 if country2=="Peru"
replace ccode = 840 if country2=="Philippines"
replace ccode = 290 if country2=="Poland"
replace ccode = 235 if country2=="Portugal"
replace ccode = 1002 if country2=="Puerto Rico"
replace ccode = 694 if country2=="Qatar"
replace ccode = 360 if country2=="Romania"
replace ccode = 365 if country2=="Russian Federation"
replace ccode = 365 if country2=="Russia"&year<1918
replace ccode = 365 if country2=="Russia"&year>1991
replace ccode = 517 if country2=="Rwanda"
replace ccode = 403 if country2=="S�o Tom� & Principe"
replace ccode = 670 if country2=="Saudi Arabia"
replace ccode = 433 if country2=="Senegal"
replace ccode = 342 if country2=="Serbia"
replace ccode = 348 if country2=="Serbia & Montenegro"
replace ccode = 591 if country2=="Seychelles"
replace ccode = 451 if country2=="Sierra Leone"
replace ccode = 830 if country2=="Singapore"
replace ccode = 317 if country2=="Slovakia"
replace ccode = 317 if country2=="Slovak Republic"
replace ccode = 349 if country2=="Slovenia"
replace ccode = 520 if country2=="Somalia"
replace ccode = 560 if country2=="South Africa"
replace ccode = 732 if country2=="South Korea"&year>1947
replace ccode = 732 if country2=="Korea, Rep."
replace ccode = 731 if country2=="Korea, Dem. Rep."
replace ccode = 730 if country2=="South Korea" & year<1911
replace ccode = 230 if country2=="Spain"
replace ccode = 780 if country2=="Sri Lanka"
replace ccode = 625 if country2=="Sudan"
replace ccode = 572 if country2=="Swaziland"
replace ccode = 380 if country2=="Sweden"
replace ccode = 225 if country2=="Switzerland"
replace ccode = 652 if country2=="Syria"
replace ccode = 652 if country2=="Syrian Arab Republic"
replace ccode = 713 if country2=="Taiwan"
replace ccode = 702 if country2=="Tajikistan"
replace ccode = 510 if country2=="Tanzania"
replace ccode = 800 if country2=="Thailand"
replace ccode = 461 if country2=="Togo"
replace ccode = 364 if country2=="Total Former USSR"
replace ccode = 364 if country2=="Russia"&year>1917&year<1992
replace ccode = 52 if country2=="Trinidad & Tobago"
replace ccode = 52 if country2=="Trinidad & Tobago"
replace ccode = 616 if country2=="Tunisia"
replace ccode = 640 if country2=="Turkey"
replace ccode = 640 if country2=="Ottoman Empire"
replace ccode = 701 if country2=="Turkmenistan"
replace ccode = 500 if country2=="Uganda"
replace ccode = 369 if country2=="Ukraine"
replace ccode = 696 if country2=="United Arab Emirates"
replace ccode = 200 if country2=="United Kingdom"
replace ccode = 2 if country2=="United States"
replace ccode = 165 if country2=="Uruguay"
replace ccode = 704 if country2=="Uzbekistan"
replace ccode = 101 if country2=="Venezuela"
replace ccode = 101 if country2=="Venezuela, RB"
replace ccode = 818 if country2=="Vietnam"
replace ccode = 816 if country2=="Vietnam North"
replace ccode = 817 if country2=="Vietnam South"
replace ccode = 816 if country2=="Vietnam, North"
replace ccode = 817 if country2=="Vietnam, South"
replace ccode = 1005 if country2=="West Bank & Gaza"
replace ccode = 679 if country2=="Yemen"
replace ccode = 678 if country2=="Yemen North"
replace ccode = 678 if country2=="Yemen, N.Arab"
replace ccode = 680 if country2=="Yemen South"
replace ccode = 680 if country2=="Yemen People's Republic"
replace ccode = 345 if country2=="Yugoslavia"
replace ccode = 345 if country2== "Yugoslavia - post 1991"
replace ccode = 345 if country2== "Yugoslavia-pre 1991"
replace ccode = 490 if country2=="Zaire (Congo Kinshasa)"
replace ccode = 490 if country2=="Zaire"
replace ccode = 490 if country2=="Congo, Dem. Rep."
replace ccode = 551 if country2=="Zambia"
replace ccode = 552 if country2=="Zimbabwe"
replace ccode = 232 if country2=="Andorra"
replace ccode = 58 if country2=="Antigua"
replace ccode = 31 if country2=="Bahamas"
replace ccode = 53 if country2=="Barbados"
replace ccode = 80 if country2=="Belize"
replace ccode = 760 if country2=="Bhutan"
replace ccode = 835 if country2=="Brunei"
replace ccode = 352 if country2=="Cyprus"
replace ccode = 54 if country2=="Dominica"
replace ccode = 860 if country2=="Timor-Leste"
replace ccode = 950 if country2=="Fiji"
replace ccode = 265 if country2=="German Democratic Republic"
replace ccode = 55 if country2=="Grenada"
replace ccode = 41 if country2=="Haiti"
replace ccode = 395 if country2=="Iceland"
replace ccode = 946 if country2=="Kiribati"
replace ccode = 212 if country2=="Luxembourg"
replace ccode = 223 if country2=="Liechtenstein"
replace ccode = 781 if country2=="Maldives"
replace ccode = 338 if country2=="Malta"
replace ccode = 910 if country2=="Papua New Guinea"
replace ccode = 403 if country2=="Sao Tome & Principe"
replace ccode = 940 if country2=="Solomon Islands"
replace ccode = 60 if country2=="St. Kitts & Nevis"
replace ccode = 60 if country2=="St. Kitts & Nevis"
replace ccode = 56 if country2=="St. Lucia"
replace ccode = 57 if country2=="St. Vincent & the Grenadines"
replace ccode = 57 if country2=="St. Vincent & Grenadines"
replace ccode = 57 if country2=="St. Vicent & Grenadines"
replace ccode = 115 if country2=="Suriname"
replace ccode = 955 if country2=="Tonga"
replace ccode = 115 if country2=="Suriname"
replace ccode = 935 if country2=="Vanuatu"
replace ccode = 990 if country2=="Western Samoa"
replace ccode = 990 if country2=="Samoa (Western)"
drop if ccode==.
save "C:\Democracy\edreynal work1.dta", replace

sort ccode year eindate
gen case=_n
xtset ccode case
gen edindex =  graduatedegree+ collegedegree
gen edgap = edindex-l.edindex
drop _merge
save "C:\Democracy\edreynal work1.dta", replace

